File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 32
32
env :
33
33
COVERALLS_TOKEN : ${{ secrets.github_token }}
34
34
- name : Upload coverage.html
35
- uses : actions/upload-artifact@v2
35
+ uses : actions/upload-artifact@v4
36
36
with :
37
37
name : coverage
38
38
path : ci/out/coverage.html
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ modtidy: gen
13
13
go mod tidy
14
14
15
15
gofmt : gen
16
- go run mvdan.cc/gofumpt@latest -w .
16
+ # gofumpt v0.7.0 requires Go 1.22 or later.
17
+ go run mvdan.cc/
[email protected] -w
.
17
18
18
19
prettier :
19
20
npx prettier --write --print-width=120 --no-semi --trailing-comma=all --loglevel=warn $$(git ls-files "*.yml" )
Original file line number Diff line number Diff line change 4
4
go vet ./...
5
5
6
6
golint :
7
- go run github.com/golangci/golangci-lint/cmd/golangci-lint@latest run .
7
+ # golangci-lint newer than v1.55.2 is not compatible with Go 1.20 when using go run.
8
+ go run github.com/golangci/golangci-lint/cmd/
[email protected] run
.
You can’t perform that action at this time.
0 commit comments