CI #388
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| schedule: | |
| - cron: '0 12 * * *' # Every day noon UTC | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| go: | |
| - "1.18.x" | |
| - "1.19.x" | |
| - "1.20.x" | |
| - "1.21.x" | |
| - "1.22.x" | |
| - "1.23.x" | |
| - "1.24.x" | |
| - "1.25.x" | |
| - "1.26.x" | |
| # Don't cancel everything when one Go version fails | |
| fail-fast: false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install Go ${{ matrix.go }} | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Make "git describe" work | |
| - run: go test | |
| - run: go test -run ø -bench . -benchtime 1x |