Bazel: Use new packaging rules #3247
Workflow file for this run
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/**" | |
- .github/workflows/go-tests.yml | |
- .github/actions/** | |
- codeql-workspace.yml | |
branches: | |
- main | |
- "rc/*" | |
pull_request: | |
paths: | |
- "go/**" | |
- .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 |