Skip to content

Commit 65b037b

Browse files
committed
update actions
1 parent 82acd29 commit 65b037b

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

.github/workflows/pr-checks.yaml

+14-11
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,26 @@ permissions:
1111
pull-requests: read
1212

1313
jobs:
14-
checks:
15-
name: run checks
14+
golangci:
15+
name: lint
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v4
1919
- uses: actions/setup-go@v5
2020
with:
2121
go-version-file: 'go.mod'
2222
check-latest: true
23-
- name: install govulncheck
24-
run: go install golang.org/x/vuln/cmd/govulncheck@latest
25-
shell: bash
26-
- name: run govulncheck
27-
run: govulncheck -show verbose ./...
28-
shell: bash
2923
- name: golangci-lint
30-
uses: golangci/golangci-lint-action@v4
24+
uses: golangci/golangci-lint-action@v6
3125
with:
32-
version: 'v1.57'
33-
skip-cache: true
26+
version: v1.59
27+
govulncheck:
28+
name: govulncheck
29+
runs-on: ubuntu-latest
30+
steps:
31+
- id: govulncheck
32+
uses: golang/govulncheck-action@v1
33+
with:
34+
go-version-file: 'go.mod'
35+
check-latest: true
36+
go-package: ./...

0 commit comments

Comments
 (0)