ci: pin bazel version
This commit is contained in:
1
.bazelversion
Normal file
1
.bazelversion
Normal file
@@ -0,0 +1 @@
|
|||||||
|
9.0.1
|
||||||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -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
|
||||||
|
|||||||
2
.github/workflows/pages.yml
vendored
2
.github/workflows/pages.yml
vendored
@@ -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 }}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user