ci: pin bazel version

This commit is contained in:
eric
2026-03-15 12:15:40 +01:00
parent 08f2abc60e
commit fbe1eb3fc8
5 changed files with 5 additions and 4 deletions

1
.bazelversion Normal file
View File

@@ -0,0 +1 @@
9.0.1

View File

@@ -25,7 +25,7 @@ jobs:
phase8_target: windows phase8_target: windows
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
env: env:
USE_BAZEL_VERSION: 9.0.0 USE_BAZEL_VERSION: 9.0.1
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: bazel-contrib/setup-bazel@0.18.0 - uses: bazel-contrib/setup-bazel@0.18.0

View File

@@ -23,7 +23,7 @@ jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
USE_BAZEL_VERSION: 9.0.0 USE_BAZEL_VERSION: 9.0.1
environment: environment:
name: github-pages name: github-pages
url: ${{ steps.deployment.outputs.page_url }} url: ${{ steps.deployment.outputs.page_url }}

View File

@@ -15,7 +15,7 @@
... ...
}: }:
let let
bazelVersion = "9.0.0"; bazelVersion = "9.0.1";
in in
repo-lib.lib.mkRepo { repo-lib.lib.mkRepo {
inherit self nixpkgs; inherit self nixpkgs;

View File

@@ -17,7 +17,7 @@ check_pattern() {
} }
check_pattern '^name:[[:space:]]+CI$' "missing workflow name CI" check_pattern '^name:[[:space:]]+CI$' "missing workflow name CI"
check_pattern 'USE_BAZEL_VERSION:[[:space:]]+9\.0\.0' "missing Bazel 9.0.0 pin" check_pattern 'USE_BAZEL_VERSION:[[:space:]]+9\.0\.1' "missing Bazel 9.0.1 pin"
check_pattern 'os:[[:space:]]+ubuntu-latest' "missing ubuntu matrix entry" check_pattern 'os:[[:space:]]+ubuntu-latest' "missing ubuntu matrix entry"
check_pattern 'phase8_target:[[:space:]]+linux-x64' "missing linux-x64 matrix target" check_pattern 'phase8_target:[[:space:]]+linux-x64' "missing linux-x64 matrix target"
check_pattern 'os:[[:space:]]+macos-14' "missing macos matrix entry" check_pattern 'os:[[:space:]]+macos-14' "missing macos matrix entry"