From 7e7b74f5f8df0905b268e39a1d551f722b36c503 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Thu, 24 Oct 2024 07:54:21 -0700 Subject: [PATCH] chore: test on Bazel 8 rather than Bazel 6 (#421) --- ### Changes are visible to end-users: no ### Test plan - Covered by existing test cases --- .github/workflows/ci.yaml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0c057a1f..ccabac2e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,20 +19,23 @@ concurrency: jobs: test: - uses: bazel-contrib/.github/.github/workflows/bazel.yaml@v6 + uses: bazel-contrib/.github/.github/workflows/bazel.yaml@v7 with: folders: '[".", "e2e/smoke", "e2e/repository-rule-deps", "e2e/system-interpreter", "examples/uv_pip_compile"]' # TODO: Build Windows tools and add to toolchain # TODO(alex): switch the root folder to bzlmod + # TODO: fix remaining folders on Bazel 8 exclude: | [ {"os": "windows-latest"}, - {"folder": ".", "bazelversion": "6.4.0"}, {"folder": ".", "bzlmodEnabled": true}, {"folder": "e2e/repository-rule-deps", "bzlmodEnabled": false}, {"folder": "e2e/system-interpreter", "bzlmodEnabled": false}, {"folder": "examples/uv_pip_compile", "bzlmodEnabled": false}, - {"folder": "examples/uv_pip_compile", "bazelversion": "6.4.0"}, + {"folder": ".", "bazelversion": "8.0.0rc1"}, + {"folder": "e2e/smoke", "bazelversion": "8.0.0rc1"}, + {"folder": "e2e/repository-rule-deps", "bazelversion": "8.0.0rc1"}, + {"folder": "e2e/system-interpreter", "bazelversion": "8.0.0rc1"} ] verify-bcr-patches: @@ -41,10 +44,9 @@ jobs: - uses: actions/checkout@v4 - run: patch --dry-run -p1 < .bcr/patches/*.patch - # TODO(alex): enable after next release. Matt will yell at you if you forget. - # test-release: - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v4 - # - working-directory: e2e/use_release - # run: ./minimal_download_test.sh + test-release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - working-directory: e2e/use_release + run: ./minimal_download_test.sh