File tree Expand file tree Collapse file tree 1 file changed +10
-13
lines changed
Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,17 @@ concurrency:
1313 cancel-in-progress : true
1414
1515jobs :
16- common-steps :
16+ build-and-test :
1717 runs-on : ubuntu-latest
18- outputs :
19- common-dependencies : ${{ steps.common-steps.outputs.deps }}
2018 permissions :
2119 contents : write # needed to push coverage to gh-pages
2220 pull-requests : write # needed to comment on PRs
2321
24- write-all : true # necessary for release creation and publishing
22+ strategy :
23+ matrix :
24+ go-version : ["1.24.5"]
25+ fail-fast : false
26+
2527 steps :
2628 - name : Checkout code
2729 uses : actions/checkout@v5
4951 go mod tidy
5052 make deps
5153
52- build-and-test :
53- needs : common-steps
54- runs-on : ubuntu-latest
55- strategy :
56- matrix :
57- go-version : ["1.24.5"]
58- fail-fast : false
54+ - name : Check code formatting
55+ run : make fmt
5956
60- steps :
6157 - name : Run unit tests
6258 run : make test
6359
7874 ./scripts/publishCoverage.sh
7975
8076 release :
81- needs : common-steps
77+ needs : build-and-test
78+ permissions : write-all
8279 runs-on : ubuntu-latest
8380
8481 strategy :
You can’t perform that action at this time.
0 commit comments