Skip to content

Commit fc7fd4d

Browse files
committed
chore: update CI GitHub actions.
1 parent aa1cfd1 commit fc7fd4d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/pull-request.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,22 @@ jobs:
1212
runs-on: ${{ matrix.os }}
1313
steps:
1414
- name: Get sources
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616

1717
- name: Set up Go 1.23.3
18-
uses: actions/setup-go@v3
18+
uses: actions/setup-go@v5
1919
with:
2020
go-version: '1.23.3'
2121

2222
- name: Run go mod tidy
2323
run: go mod tidy
2424

2525
- name: Run golangci-lint
26-
run: |
27-
go install github.com/golangci/golangci-lint/cmd/[email protected]
28-
golangci-lint run --timeout=500s
26+
uses: golangci/golangci-lint-action@v6
27+
with:
28+
version: v1.62.0
29+
args: --timeout=500s
30+
skip-cache: true
2931

3032
- name: Run govulncheck
3133
uses: golang/govulncheck-action@v1

0 commit comments

Comments
 (0)