name: "govulncheck"
on:
push:
branches: [ "main", "next" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main", "next" ]
schedule:
- cron: '29 21 * * 6'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
govulncheck:
runs-on: ubuntu-latest
timeout-minutes: 5
name: Run govulncheck
steps:
- id: govulncheck
uses: golang/govulncheck-action@032d45514ae346b1db93c04b0c90b841c370344f # v1.1.0
with:
check-latest: true
# No external dependencies (and no go.sum), nothing to cache.
cache: false