@@ -26,10 +26,10 @@ jobs:
2626 name : Clean go mods
2727 runs-on : ubuntu-latest
2828 steps :
29- - name : Set up Go 1.23.3
29+ - name : Set up Go
3030 uses : actions/setup-go@v5
3131 with :
32- go-version : ' 1.23.3 '
32+ go-version : stable
3333 - name : Install gomods
3434 run :
go install github.com/jmank88/[email protected] 3535 - name : Check out code
@@ -82,14 +82,13 @@ jobs:
8282 - name : Check out Code
8383 uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
8484 - name : Install Go
85- uses : smartcontractkit/chainlink- github- actions/chainlink-testing-framework/ setup-go@d2f9642bcc24a73400568756f24b72c188ac7a9a # v2.3.31
85+ uses : smartcontractkit/. github/ actions/setup-golang@3835daadbcefcae06d12dc42a405a856c980d2cc
8686 with :
87- test_download_vendor_packages_command : cd ${{ matrix.project.path }} && go mod download
88- go_mod_path : ${{ matrix.project.path }}go.mod
89- cache_key_id : ctf-go-${{ matrix.project.name }}
90- cache_restore_only : ' false'
87+ go-version-file : ${{ matrix.project.path }}go.mod
88+ use-go-cache : true
89+ go-cache-dep-path : ${{ matrix.project.path }}go.sum
9190 - name : golangci-lint ${{ needs.tools.outputs.golangci-lint-version }}
92- uses : golangci/golangci-lint-action@9d1e0624a798bb64f6c3cea93db47765312263dc # v5.1.0
91+ uses : golangci/golangci-lint-action@818ec4d51a1feacefc42ff1b3ec25d4962690f39 # v6.4.1
9392 with :
9493 version : v${{ needs.tools.outputs.golangci-lint-version }}
9594 args : --out-format checkstyle:golangci-lint-report.xml
@@ -113,12 +112,11 @@ jobs:
113112 - name : Check out Code
114113 uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
115114 - name : Install Go
116- uses : smartcontractkit/chainlink- github- actions/chainlink-testing-framework/ setup-go@d2f9642bcc24a73400568756f24b72c188ac7a9a # v2.3.31
115+ uses : smartcontractkit/. github/ actions/setup-golang@3835daadbcefcae06d12dc42a405a856c980d2cc
117116 with :
118- test_download_vendor_packages_command : cd lib && go mod download
119- go_mod_path : ./lib/go.mod
120- cache_key_id : ctf-go
121- cache_restore_only : ' false'
117+ go-version-file : ./lib/go.mod
118+ use-go-cache : true
119+ go-cache-dep-path : ./lib/go.sum
122120 - name : Write Go List
123121 working-directory : lib
124122 run : go list -json -deps ./... > ../go.list
0 commit comments