Skip to content

Commit 6b6dd54

Browse files
authored
Discard deprecated CI (#1626)
1 parent f1b6a5a commit 6b6dd54

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/lint.yaml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -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@051d91933864810ecd5e2ea2cfd98f6a5bca5347 # v6.3.2
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

Comments
 (0)