Vulnerability Check #197
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Vulnerability Check | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 8 * * 1,3,5' | |
jobs: | |
runVulnerabilityCheck: | |
name: Run Vulnerability Check | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Go | |
uses: ./.github/actions/setup-go | |
- name: Check vulnerabilities | |
run: | | |
go install golang.org/x/vuln/cmd/govulncheck@latest | |
govulncheck -v ./... |