Skip to content

ci: add govulncheck to CI #1

ci: add govulncheck to CI

ci: add govulncheck to CI #1

Workflow file for this run

name: govulncheck
concurrency:
# Run only for most recent commit in PRs but for all tags and commits on main
# Ref: https://docs.github.com/en/actions/using-jobs/using-concurrency
group: ${{ github.workflow }}-${{ github.head_ref || github.sha }}
cancel-in-progress: true
on:
pull_request:
branches:
- 'main'
schedule:
- cron: '42 1 * * 5'
workflow_dispatch: {}
permissions:
contents: read
jobs:
analyze:
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT || 10) }}
name: analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
branch:
- main
- release/1.4.x
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ matrix.branch }}
- id: govulncheck
uses: golang/govulncheck-action@v1