Skip to content

Commit cbb14ab

Browse files
kyleconroyandrewmbenton
authored andcommitted
build: Run govulncheck on all builds (#2372)
1 parent 6fb8276 commit cbb14ab

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ jobs:
5050

5151
steps:
5252
- uses: actions/checkout@v3
53-
5453
- uses: actions/setup-go@v4
5554
with:
5655
go-version: '1.20'
@@ -83,3 +82,15 @@ jobs:
8382
run: ./scripts/report.sh
8483
env:
8584
BUILDKITE_ANALYTICS_TOKEN: ${{ secrets.BUILDKITE_ANALYTICS_TOKEN }}
85+
86+
vuln_check:
87+
runs-on: ubuntu-latest
88+
timeout-minutes: 5
89+
90+
steps:
91+
- uses: actions/checkout@v3
92+
- uses: actions/setup-go@v4
93+
with:
94+
go-version: '1.20'
95+
- run: go install golang.org/x/vuln/cmd/govulncheck@latest
96+
- run: govulncheck ./...

devenv.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
pkgs.go
88
pkgs.git
99
pkgs.git-cliff
10+
pkgs.govulncheck
1011
pkgs.python311
1112
];
1213
}

0 commit comments

Comments
 (0)