Skip to content

govulncheck

govulncheck #302

Workflow file for this run

name: govulncheck
on:
pull_request_target: {}
push:
branches: [main]
schedule:
- cron: "30 0 1,15 * *"
jobs:
scan:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- name: Scan for Vulnerabilities in Code
uses: golang/govulncheck-action@7da72f730e37eeaad891fcff0a532d27ed737cd4 # [email protected]
with:
go-version-file: go.mod
go-package: ./...
check-latest: true
repo-checkout: false