Use sync.WaitGroup to avoid exiting before components have shut down #249
This file contains hidden or 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: | |
push: | |
paths: | |
- go.sum | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: {} | |
permissions: read-all | |
jobs: | |
govulncheck: | |
name: govulncheck | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v5 | |
- name: Install Go | |
uses: ./.github/actions/setup-go | |
- name: Go Generate | |
run: | | |
./scripts/download | |
./scripts/generate | |
- name: Install govulncheck | |
run: go install golang.org/x/vuln/cmd/govulncheck@latest | |
- name: Run govulncheck | |
run: govulncheck -format=text ./... |