File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1818 - uses : actions/checkout@v4
1919 - uses : actions/setup-go@v5
2020 with :
21- go-version-file : " go.mod "
21+ go-version : " 1.23 "
2222 - uses : golangci/golangci-lint-action@v6
2323 with :
2424 version : v1.61.0
Original file line number Diff line number Diff line change 1919 steps :
2020 - uses : golang/govulncheck-action@v1
2121 with :
22- go-version-file : " go.mod "
22+ go-version-input : " 1.23 "
2323 go-package : ./...
Original file line number Diff line number Diff line change 1818 - uses : actions/checkout@v4
1919 - uses : actions/setup-go@v5
2020 with :
21- go-version-file : " go.mod "
21+ go-version : " 1.23 "
2222 - run : |
2323 gofmt -d .
2424 test -z $(gofmt -l .)
Original file line number Diff line number Diff line change 1818 - uses : actions/checkout@v4
1919 - uses : actions/setup-go@v5
2020 with :
21- go-version-file : " go.mod "
21+ go-version : " 1.23 "
2222 - run : go install honnef.co/go/tools/cmd/staticcheck@latest
2323 - run : $(go env GOPATH)/bin/staticcheck ./...
Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ jobs:
1616 runs-on : ubuntu-latest
1717 strategy :
1818 matrix :
19- goVer :
20- - " 1.21"
19+ go-version :
2120 - " 1.22"
21+ - " 1.23"
2222 steps :
2323 - uses : actions/checkout@v4
2424 - uses : actions/setup-go@v5
2525 with :
26- go-version : ${{ matrix.goVer }}
26+ go-version : ${{ matrix.go-version }}
2727 - run : go test -v -coverprofile="coverage.out" ./...
2828 - run : go tool cover -func="coverage.out"
2929 -
uses :
vladopajic/[email protected]
You can’t perform that action at this time.
0 commit comments