Skip to content

Commit 91d2f6b

Browse files
committed
move audit to separate workflow
1 parent 459113b commit 91d2f6b

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

.github/workflows/audit.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Security audit
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
7+
jobs:
8+
security_audit:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: golang/govulncheck-action@v1
12+
with:
13+
go-version-input: 'stable'
14+
check-latest: true
15+

.github/workflows/ci.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@ jobs:
1414
go-version: ${{ matrix.go-version }}
1515
- uses: actions/checkout@v3
1616
- run: go test ./...
17-
govulncheck:
18-
runs-on: ubuntu-latest
19-
steps:
20-
- uses: golang/govulncheck-action@v1
17+
2118
gocritic:
2219
runs-on: ubuntu-latest
2320
steps:

0 commit comments

Comments
 (0)