We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 65c10bc + 67afad6 commit d0a0281Copy full SHA for d0a0281
.github/workflows/govuln.yaml
@@ -0,0 +1,19 @@
1
+---
2
+name: Go Vulnerability Checker
3
+on: [push, pull_request]
4
+permissions: read-all
5
+jobs:
6
+ test:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
10
+ - id: goversion
11
+ run: echo "goversion=$(cat .go-version)" >> "$GITHUB_OUTPUT"
12
+ - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
13
+ with:
14
+ go-version: ${{ steps.goversion.outputs.goversion }}
15
+ - run: date
16
+ - run: |
17
+ set -euo pipefail
18
+
19
+ go install golang.org/x/vuln/cmd/govulncheck@latest && govulncheck ./...
0 commit comments