-
Notifications
You must be signed in to change notification settings - Fork 1
Hermetic Builds 🔒 #40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
9780bc1
more hermetic builds
GrantBirki faebc6d
match go versions
GrantBirki eaf4921
run `script/update`
GrantBirki 9d8bcc8
Fix shebang formatting in env script
GrantBirki a9e02e7
Refactor build environment variables and ldflags in .goreleaser.yaml
GrantBirki b3b65d4
goreleaser updates
GrantBirki 7ce3394
fix build
GrantBirki 8b9cefd
add check
GrantBirki 3c50135
Update build scripts to use single target mode and pass arguments to …
GrantBirki File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,34 @@ | ||
module github.com/github/gh-combine | ||
|
||
go 1.23.0 | ||
|
||
toolchain go1.23.8 | ||
go 1.23.8 | ||
|
||
require github.com/briandowns/spinner v1.23.2 | ||
|
||
require ( | ||
github.com/cli/go-gh/v2 v2.12.1 | ||
github.com/cli/go-gh/v2 v2.12.2 | ||
github.com/cli/shurcooL-graphql v0.0.4 | ||
github.com/spf13/cobra v1.9.1 | ||
github.com/stretchr/testify v1.10.0 | ||
) | ||
|
||
require ( | ||
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect | ||
github.com/cli/safeexec v1.0.0 // indirect | ||
github.com/cli/safeexec v1.0.1 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/fatih/color v1.7.0 // indirect | ||
github.com/henvic/httpretty v0.0.6 // indirect | ||
github.com/fatih/color v1.18.0 // indirect | ||
github.com/henvic/httpretty v0.1.4 // indirect | ||
github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
github.com/kr/pretty v0.1.0 // indirect | ||
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect | ||
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-colorable v0.1.14 // indirect | ||
github.com/mattn/go-isatty v0.0.20 // indirect | ||
github.com/muesli/termenv v0.16.0 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/rivo/uniseg v0.4.7 // indirect | ||
github.com/spf13/pflag v1.0.6 // indirect | ||
github.com/thlib/go-timezone-local v0.0.0-20210907160436-ef149e42d28e // indirect | ||
golang.org/x/sys v0.31.0 // indirect | ||
golang.org/x/term v0.30.0 // indirect | ||
golang.org/x/text v0.23.0 // indirect | ||
github.com/spf13/pflag v1.0.7 // indirect | ||
github.com/thlib/go-timezone-local v0.0.7 // indirect | ||
golang.org/x/sys v0.35.0 // indirect | ||
golang.org/x/term v0.34.0 // indirect | ||
golang.org/x/text v0.28.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
source script/env "$@" | ||
|
||
echo -e "${BLUE}🥾 Bootstrapping...${OFF}" | ||
|
||
# Hermetic check: ensure all imports resolve from vendor/ only | ||
# This avoids touching the network or the module cache. | ||
go list -mod=vendor -deps ./... > /dev/null | ||
|
||
echo -e "${GREEN}✅ Bootstrap complete!${OFF}" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.