File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050 with :
5151 go-version : ${{ env.GO_VERSION }}
5252 cache : true
53- - name : gofumpt diff
53+ - name : Remove go.work
54+ run : rm -f go.work go.work.sum - name: gofumpt diff
5455 run : |
5556 go install mvdan.cc/gofumpt@latest
5657 out=$(gofumpt -l .)
7475 with :
7576 go-version : ${{ env.GO_VERSION }}
7677 cache : true
77- - uses : golangci/golangci-lint-action@v7
78+ - name : Remove go.work (local dev only)
79+ run : rm -f go.work go.work.sum - uses: golangci/golangci-lint-action@v7
7880 with :
7981 version : v2.1.0
8082 install-mode : goinstall
@@ -123,10 +125,13 @@ jobs:
123125 with :
124126 go-version : ${{ env.GO_VERSION }}
125127 cache : true
126- - name : govulncheck
128+ - name : Remove go.work
129+ run : rm -f go.work go.work.sum - name: govulncheck
127130 run : |
128- go install golang.org/x/vuln/cmd/govulncheck@latest
129- govulncheck ./...
131+ - name : Remove go.work
132+ run : rm -f go.work go.work.sum go install golang.org/x/vuln/cmd/govulncheck@latest
133+ - name : Remove go.work
134+ run : rm -f go.work go.work.sum govulncheck ./...
130135 - name : gosec (advisory)
131136 continue-on-error : true
132137 run : |
You can’t perform that action at this time.
0 commit comments