Nightly Tests #1112
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 Tests | |
| on: | |
| schedule: | |
| - cron: '0 3 * * *' | |
| workflow_dispatch: | |
| env: | |
| GOPROXY: https://proxy.golang.org/ | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - | |
| name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - | |
| name: Unshallow | |
| run: git fetch --prune --unshallow | |
| - | |
| name: Set up Go | |
| uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 | |
| with: | |
| go-version-file: ".go-version" | |
| - | |
| name: Go mod download | |
| run: go mod download -x | |
| - | |
| name: Run long tests | |
| run: go test -timeout=30m -tags=longtest ./... |