Skip to content

Commit

Permalink
build: Run govulncheck on all builds (#2372)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleconroy committed Jun 27, 2023
1 parent ce2cb68 commit bbb5457
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ jobs:

steps:
- uses: actions/checkout@v3

- uses: actions/setup-go@v4
with:
go-version: '1.20'
Expand Down Expand Up @@ -83,3 +82,15 @@ jobs:
run: ./scripts/report.sh
env:
BUILDKITE_ANALYTICS_TOKEN: ${{ secrets.BUILDKITE_ANALYTICS_TOKEN }}

vuln_check:
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- run: go install golang.org/x/vuln/cmd/govulncheck@latest
- run: govulncheck ./...
1 change: 1 addition & 0 deletions devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
pkgs.go
pkgs.git
pkgs.git-cliff
pkgs.govulncheck
pkgs.python311
];
}

0 comments on commit bbb5457

Please sign in to comment.