adding new workflows for govulncheck

Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
pull/13287/head
Robert Sirchia 4 months ago
parent 88fa81ecb6
commit 4df7d5628b
No known key found for this signature in database
GPG Key ID: C2D40F4D8196E874

@ -0,0 +1,18 @@
name: daily-govulncheck
on:
schedule:
- cron: "0 0 * * *"
jobs:
govulncheck:
name: govulncheck
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # pin@5.0.2
with:
go-version: '1.22'
- name: govulncheck
uses: golang/govulncheck-action@dd0578b371c987f96d1185abb54344b44352bd58 # pin@1.0.3
with:
go-package: ./...

@ -0,0 +1,19 @@
name: file-govulncheck
on:
push:
paths:
- go.sum
jobs:
govulncheck:
name: govulncheck
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # pin@5.0.2
with:
go-version: '1.22'
- name: govulncheck
uses: golang/govulncheck-action@dd0578b371c987f96d1185abb54344b44352bd58 # pin@1.0.3
with:
go-package: ./...
Loading…
Cancel
Save