generated from d2iq-archive/golang-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1107dfb
commit c0a4821
Showing
10 changed files
with
423 additions
and
43 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -24,6 +24,8 @@ jobs: | |
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install devbox | ||
uses: jetpack-io/[email protected] | ||
|
@@ -33,7 +35,9 @@ jobs: | |
NIX_USER_COUNT: 4 | ||
|
||
- name: Build | ||
run: devbox run -- make SKIP_UPX=false build-snapshot | ||
run: | | ||
devbox run -- \ | ||
make GORELEASER_FLAGS=$'--config=<(gojq --yaml-input --yaml-output \'del(.builds[0].goarch) | del(.builds[0].goos) | .builds[0].targets|=(["darwin_amd64_v1"])\' .goreleaser.yml) --skip=validate,publish' release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
This file contains 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 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,6 +1,5 @@ | ||
{ | ||
"packages": [ | ||
"[email protected]", | ||
"bash@latest", | ||
"coreutils@latest", | ||
"crane@latest", | ||
|
@@ -11,8 +10,9 @@ | |
"gnused@latest", | ||
"gnugrep@latest", | ||
"gnumake@latest", | ||
"go@latest", | ||
"gojq@latest", | ||
"golangci-lint@latest", | ||
"path:./hack/flakes/golangci-lint", | ||
"golines@latest", | ||
"goreleaser@latest", | ||
"gotestsum@latest", | ||
|
Oops, something went wrong.