Nightly #324
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: Nightly | |
| on: | |
| schedule: | |
| - cron: '0 2 * * *' # 2 AM UTC daily | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup | |
| uses: ./.github/actions/setup | |
| - name: Nightly Test | |
| run: go test -race -mod=readonly -v -count=1 -shuffle=on ./... | |
| vulncheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Run govulncheck | |
| # NOTE: pinned to master HEAD instead of a tag. The latest release (v1.0.4) | |
| # internally uses actions/checkout@v4.1.1 and actions/setup-go@v5.0.0 (Node 20), | |
| # which are deprecated. master uses checkout v6.0.2 + setup-go v6.2.0 (Node 24). | |
| # TODO: re-pin to a tagged release once upstream tags one past v1.0.4. | |
| uses: golang/govulncheck-action@31f7c5463448f83528bd771c2d978d940080c9fd # master, post-v1.0.4 (Node 24) | |
| with: | |
| go-version-file: go.mod | |
| repo-checkout: true |