Skip to content

Commit b179e94

Browse files
authored
chore(golangci-lint): add golangci-lint step for registry-scanner submodule; bump golangci-lint from 2.1.6 to 2.5.0 (#1271)
Signed-off-by: Cheng Fang <[email protected]>
1 parent d5c46b5 commit b179e94

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/ci-tests.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,19 @@ jobs:
6363
uses: actions/setup-go@v6
6464
with:
6565
go-version-file: go.mod
66-
cache: false
6766
env:
6867
GO111MODULE: off
69-
- name: Run golangci-lint
68+
- name: Run golangci-lint on main module
7069
uses: golangci/golangci-lint-action@v8
7170
with:
72-
version: v2.1.6
71+
version: v2.5.0
7372
args: --timeout 5m
73+
- name: Run golangci-lint on registry-scanner
74+
uses: golangci/golangci-lint-action@v8
75+
with:
76+
version: v2.5.0
77+
args: --timeout 5m
78+
working-directory: registry-scanner
7479
test:
7580
name: Ensure unit tests are passing
7681
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)