Merge pull request #19699 from github/cklin/rc-3.18-mergeback #5770
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: Run Tests" | |
| on: | |
| push: | |
| paths: | |
| - "go/**" | |
| - "!go/documentation/**" | |
| - "shared/**" | |
| - .github/workflows/go-tests.yml | |
| - .github/actions/** | |
| - codeql-workspace.yml | |
| branches: | |
| - main | |
| - "rc/*" | |
| pull_request: | |
| paths: | |
| - "go/**" | |
| - "!go/documentation/**" | |
| - "shared/**" | |
| - .github/workflows/go-tests.yml | |
| - .github/actions/** | |
| - codeql-workspace.yml | |
| - MODULE.bazel | |
| - .bazelrc | |
| - misc/bazel/** | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-linux: | |
| if: github.repository_owner == 'github' | |
| name: Test Linux (Ubuntu) | |
| runs-on: ubuntu-latest-xl | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Run tests | |
| uses: ./go/actions/test | |
| with: | |
| run-code-checks: true |