V2 preview #19
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: Go Tests | |
| # Security: grants only the minimal scopes required. | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| paths: | |
| - "go/**" | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.24" | |
| cache-dependency-path: go/go.sum | |
| # Runs test with shuffle and count to expose flaky tests. | |
| - name: Run tests | |
| working-directory: go | |
| run: go test -count=5 -shuffle=on ./... |