File tree Expand file tree Collapse file tree 1 file changed +7
-18
lines changed
Expand file tree Collapse file tree 1 file changed +7
-18
lines changed Original file line number Diff line number Diff line change @@ -39,16 +39,11 @@ jobs:
3939 with :
4040 fetch-depth : 0
4141
42- - uses : actions/setup-go@v4
43- with :
44- go-version-file : " go.mod"
45- cache : true
42+ - uses : jetify-com/devbox-install-action@a03caf5813591bc882139eba6ae947930a83a427 # tag=v0.11.0
4643
47- - name : golangci-lint
48- uses : golangci/golangci-lint-action@v3
49- with :
50- version : v1.50.1
51- args : --timeout 3m --verbose
44+ - name : Run golangci-lint
45+ run :
46+ devbox run -- make lint
5247
5348 # This is PR builds but does not push to a registry
5449 build-pr :
6358 - name : Set up QEMU
6459 uses : docker/setup-qemu-action@v3
6560
66- - name : Set up Go
67- uses : actions/setup-go@v4
68- with :
69- go-version-file : " go.mod"
70- cache : true
61+ - uses : jetify-com/devbox-install-action@a03caf5813591bc882139eba6ae947930a83a427 # tag=v0.11.0
7162
7263 # Use goreleaser snapshot builds for PR builds to avoid duplication
7364 # This is a bit convoluted - see also goreleaser nightly builds feature
8273 git rev-parse --short "${{ github.event.pull_request.head.sha }}" >>${GITHUB_ENV}
8374
8475 - name : Make PR build
85- uses : goreleaser/goreleaser-action@v5
86- with :
87- version : latest
88- args : release --clean --snapshot
76+ run :
77+ devbox run -- goreleaser release --clean --snapshot
8978
9079 - name : List PR images
9180 run : |
You can’t perform that action at this time.
0 commit comments