@@ -13,48 +13,41 @@ jobs:
1313 runs-on : ubuntu-latest
1414 env :
1515 GO_VERSION : stable
16- GOLANGCI_LINT_VERSION : v2.6.0
16+ GOLANGCI_LINT_VERSION : v2.7.1
1717 HUGO_VERSION : 0.148.2
1818 CGO_ENABLED : 0
1919 LEGO_E2E_TESTS : CI
2020 MEMCACHED_HOSTS : localhost:11211
2121
2222 steps :
2323
24- # https://github.com/marketplace/actions/checkout
25- - name : Check out code
26- uses : actions/checkout@v4
24+ - uses : actions/checkout@v6
2725 with :
2826 fetch-depth : 0
2927
30- # https://github.com/marketplace/actions/setup-go-environment
31- - name : Set up Go ${{ env.GO_VERSION }}
32- uses : actions/setup-go@v5
28+ - uses : actions/setup-go@v6
3329 with :
3430 go-version : ${{ env.GO_VERSION }}
3531
3632 - name : Check and get dependencies
3733 run : |
38- go mod tidy
39- git diff --exit-code go.mod
40- git diff --exit-code go.sum
34+ go mod tidy --diff
4135
4236 - name : Generate and Check generated elements
4337 run : |
4438 make generate-dns
4539 git diff --exit-code
4640
47- # https://golangci-lint.run/usage/install#other-ci
48- - name : Install golangci-lint ${{ env.GOLANGCI_LINT_VERSION }}
49- run : |
50- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
51- golangci-lint --version
41+ - uses : golangci/golangci-lint-action@v9
42+ with :
43+ version : ${{ env.GOLANGCI_LINT_VERSION }}
44+ install-only : true
5245
5346 - name : Install Pebble
54- run : go install github.com/letsencrypt/pebble/v2/cmd/pebble@v2.7 .0
47+ run : go install github.com/letsencrypt/pebble/v2/cmd/pebble@v2.8 .0
5548
5649 - name : Install challtestsrv
57- run : go install github.com/letsencrypt/pebble/v2/cmd/pebble-challtestsrv@v2.7 .0
50+ run : go install github.com/letsencrypt/pebble/v2/cmd/pebble-challtestsrv@v2.8 .0
5851
5952 - name : Set up a Memcached server
6053 uses : niden/actions-memcached@v7
0 commit comments