Merge pull request #18257 from github/criemen/bazel-8-00 #4633
This file contains 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/**" | |
- "shared/**" | |
- .github/workflows/go-tests.yml | |
- .github/actions/** | |
- codeql-workspace.yml | |
branches: | |
- main | |
- "rc/*" | |
pull_request: | |
paths: | |
- "go/**" | |
- "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 |