File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,32 +15,32 @@ jobs:
1515 # Only ubuntu allows for docker support - https://docs.github.com/en/actions/using-containerized-services/about-service-containers
1616 runs-on : ubuntu-latest
1717 steps :
18- - uses : actions/checkout@v6
18+ - uses : actions/checkout@v6
1919
20- - name : Set up Go
21- uses : actions/setup-go@v6
22- with :
23- go-version : ' 1.26'
20+ - name : Set up Go
21+ uses : actions/setup-go@v6
22+ with :
23+ go-version : ' 1.26'
2424
25- - name : Build
26- run : go build -v ./...
27- - name : Test
28- run : make test
29- - name : Checks
30- run : |
31- make checks
25+ - name : Build
26+ run : go build -v ./...
27+ - name : Test
28+ run : make test
29+ - name : Checks
30+ run : |
31+ make checks
3232
33- # platforms:
34- # runs-on: ${{ matrix.os }}
35- # strategy:
36- # matrix:
37- # os:
38- # - "windows-latest"
39- # - "macos-latest"
40- # steps:
41- # - uses: actions/checkout@v4.2.2
42- # - uses: actions/setup-go@v5.3.0
43- # with:
44- # go-version: '1.24 '
45- # - name: Test
46- # run: make short- test
33+ # platforms:
34+ # runs-on: ${{ matrix.os }}
35+ # strategy:
36+ # matrix:
37+ # os:
38+ # - "windows-latest"
39+ # - "macos-latest"
40+ # steps:
41+ # - uses: actions/checkout@v6
42+ # - uses: actions/setup-go@v6
43+ # with:
44+ # go-version: '1.26 '
45+ # - name: Test
46+ # run: make test
Original file line number Diff line number Diff line change 2828 # When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
2929 # When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
3030 # Version should be the same as in the Makefile
31- version : v2.11.4
31+ version : v2.12.2
3232
3333 # Optional: working directory, useful for monorepos
3434 # working-directory: somedir
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ checks: check_tidy check_vuln check_modern
3434
3535.PHONY : check_vuln
3636check_vuln :
37- go run golang.org/x/vuln/cmd/govulncheck@v1.1.4 ./...
37+ go run golang.org/x/vuln/cmd/govulncheck@v1.3.0 ./...
3838# if we use more tools, we can switch to go tool -modfile=tools.mod
3939# there is good discussion at https://news.ycombinator.com/item?id=42845323
4040
@@ -63,4 +63,4 @@ tools/golangci-lint: tools
6363# We install golangci-lint as recommended in the docs. See the same docs for a discussion about go run and
6464# go get -tool alternatives - https://golangci-lint.run/docs/welcome/install/ .
6565# Delete tools/golangci-lint if this target is updated (may be automated in the future)
66- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b ./tools v2.11.4
66+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b ./tools v2.12.2
Original file line number Diff line number Diff line change 11module github.com/sclgo/template
22
3- go 1.26.2
3+ go 1.26
44
55require github.com/stretchr/testify v1.11.1
66
You can’t perform that action at this time.
0 commit comments