fix: Change init to default to --config if --config-path is absent #1288
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: govulncheck | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
tags: | |
- v* | |
schedule: | |
- cron: 22 2 * * * | |
jobs: | |
govulncheck: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- 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@7da72f730e37eeaad891fcff0a532d27ed737cd4 | |
with: | |
go-version-input: ${{ steps.go-version.outputs.go-version }} |