File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
2- name : code checks
2+ name : CodeChecks
33on :
44 push :
55 paths :
1010 - " pkg/**"
1111 - " *.go"
1212 - " go.*"
13+
1314jobs :
15+
1416 code_checks :
1517
1618 runs-on : ubuntu-latest
@@ -44,11 +46,16 @@ jobs:
4446 work-dir : .
4547
4648 - uses : cachix/install-nix-action@v31
49+ with :
50+ github_access_token : ${{ secrets.GH_GORELEASER_TOKEN }}
51+
4752 - uses : cachix/cachix-action@v16
4853 with :
4954 name : devenv
55+
5056 - name : Install devenv.sh
5157 run : nix profile add nixpkgs#devenv
5258
5359 - name : Build the devenv shell and run any pre-commit hooks
5460 run : devenv test
61+ timeout-minutes : 15
Original file line number Diff line number Diff line change 11---
2- name : release
2+ name : Release
33on :
44 push :
55 tags :
66 - " *"
7+ workflow_run :
8+ workflows : [CodeChecks]
9+ branches : [main]
10+ types :
11+ - completed
12+
713permissions :
814 contents : write
15+
916jobs :
1017
1118 goreleaser :
1219
13- needs : code_checks
14-
1520 runs-on : ubuntu-latest
1621 strategy :
1722 matrix :
You can’t perform that action at this time.
0 commit comments