Skip to content

chore: adding govulncheck to github actions #2

chore: adding govulncheck to github actions

chore: adding govulncheck to github actions #2

Workflow file for this run

name: Tests
on:
pull_request:
types: [opened, synchronize, reopened, labeled]
merge_group:
types: [checks_requested]
concurrency:
group: ci-${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
govulncheck:
runs-on: ubuntu-latest
name: Run govulncheck
steps:
- id: govulncheck
uses: golang/govulncheck-action@v1.0.1
if: env.GIT_DIFF
with:
go-version-input: 1.21
go-package: ./...