Skip to content

Commit 4df7d56

Browse files
committedSep 6, 2024··
adding new workflows for govulncheck
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
1 parent 88fa81e commit 4df7d56

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed
 
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: daily-govulncheck
2+
on:
3+
schedule:
4+
- cron: "0 0 * * *"
5+
6+
jobs:
7+
govulncheck:
8+
name: govulncheck
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Setup Go
12+
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # pin@5.0.2
13+
with:
14+
go-version: '1.22'
15+
- name: govulncheck
16+
uses: golang/govulncheck-action@dd0578b371c987f96d1185abb54344b44352bd58 # pin@1.0.3
17+
with:
18+
go-package: ./...
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: file-govulncheck
2+
on:
3+
push:
4+
paths:
5+
- go.sum
6+
7+
jobs:
8+
govulncheck:
9+
name: govulncheck
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Setup Go
13+
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # pin@5.0.2
14+
with:
15+
go-version: '1.22'
16+
- name: govulncheck
17+
uses: golang/govulncheck-action@dd0578b371c987f96d1185abb54344b44352bd58 # pin@1.0.3
18+
with:
19+
go-package: ./...

0 commit comments

Comments
 (0)
Please sign in to comment.