Skip to content

Commit

Permalink
add govulncheck
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronhurt committed Apr 19, 2024
1 parent 66de11a commit 2e01867
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: golangci-lint
name: pr-checks
on:
push:
branches:
Expand All @@ -11,15 +11,21 @@ permissions:
pull-requests: read

jobs:
golangci:
name: lint
checks:
name: run checks
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
with:
Expand Down

0 comments on commit 2e01867

Please sign in to comment.