Skip to content

feat: Add common --parent-dirs/-P flag #2291

feat: Add common --parent-dirs/-P flag

feat: Add common --parent-dirs/-P flag #2291

Workflow file for this run

name: govulncheck
on:
pull_request:
branches:
- master
push:
branches:
- master
tags:
- v*
schedule:
- cron: 2 2 * * *
jobs:
govulncheck:
runs-on: ubuntu-22.04
permissions:
contents: read
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
- name: go-version
id: go-version
run: |
echo go-version="$(awk '/GO_VERSION:/ { print $2 }' .github/workflows/main.yml | tr -d \')" >> "${GITHUB_OUTPUT}"
- uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee
with:
go-version-input: ${{ steps.go-version.outputs.go-version }}