Bazel: Upgrade to 8.0.0rc1 #843
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 - Other OS" | |
on: | |
pull_request: | |
paths: | |
- "go/**" | |
- "!go/ql/**" # don't run other-os if only ql/ files changed | |
- .github/workflows/go-tests-other-os.yml | |
- .github/actions/** | |
- codeql-workspace.yml | |
- MODULE.bazel | |
- .bazelrc | |
- misc/bazel/** | |
permissions: | |
contents: read | |
jobs: | |
test-mac: | |
name: Test MacOS | |
runs-on: macos-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Run tests | |
uses: ./go/actions/test | |
test-win: | |
if: github.repository_owner == 'github' | |
name: Test Windows | |
runs-on: windows-latest-xl | |
steps: | |
# - name: Check out code | |
# uses: actions/checkout@v4 | |
- name: dump env | |
shell: pwsh | |
run: | | |
Get-ChildItem Env: | |
- name: dump env bash | |
shell: bash | |
run: | | |
export | |
where bazel | |
where bazelisk | |
bazel version | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "~1.23.1" | |
cache: false | |
id: go | |
- name: dump env bash again | |
shell: bash | |
run: | | |
export | |
where bazel | |
where bazelisk | |
bazel version | |
- name: test1 | |
run: | | |
C:\npm\prefix\bazel version | |
- name: test2 | |
run: | | |
C:\ProgramData\Chocolatey\bin\bazel.exe version | |
C:\npm\prefix\bazelisk version | |
- name: test3 | |
run: | | |
C:\npm\prefix\bazelisk version | |
- name: Run tests | |
uses: ./go/actions/test |