fix: Update goheader
linter setting to support 2024 and onwards
#269
Workflow file for this run
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: | |
types: [opened, synchronize, reopened, labeled, unlabeled] | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
govulncheck: | |
name: govulncheck | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Install dependencies | |
run: | | |
go mod download | |
- id: govulncheck | |
uses: golang/govulncheck-action@v1 | |
with: | |
go-package: ./... | |
repo-checkout: false | |
go-version-file: go.mod | |
go-version-input: "" |