Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronhurt committed Jul 12, 2024
1 parent 82acd29 commit 65b037b
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/pr-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,26 @@ permissions:
pull-requests: read

jobs:
checks:
name: run checks
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
check-latest: true
- name: install govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
shell: bash
- name: run govulncheck
run: govulncheck -show verbose ./...
shell: bash
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
uses: golangci/golangci-lint-action@v6
with:
version: 'v1.57'
skip-cache: true
version: v1.59
govulncheck:
name: govulncheck
runs-on: ubuntu-latest
steps:
- id: govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-file: 'go.mod'
check-latest: true
go-package: ./...

0 comments on commit 65b037b

Please sign in to comment.