From c9ca3cd5544eab3992a449aca1675c920c8140d0 Mon Sep 17 00:00:00 2001 From: Fredrik Roubert Date: Tue, 11 Feb 2025 18:20:06 +0100 Subject: [PATCH] ICU-22920 Migrate from setup-bazelisk to setup-bazel. --- .github/workflows/cache_retain.yml | 2 +- .github/workflows/icu4c.yml | 4 ++-- .github/workflows/icu_merge_ci.yml | 16 ++++++++-------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/cache_retain.yml b/.github/workflows/cache_retain.yml index 7d679bbd032..ca3693616b5 100644 --- a/.github/workflows/cache_retain.yml +++ b/.github/workflows/cache_retain.yml @@ -52,7 +52,7 @@ jobs: distribution: 'temurin' java-version: '11' - name: Restore read-only cache of local Maven repository - uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache/restore@v4.2.0 id: cache with: path: ~/.m2/repository diff --git a/.github/workflows/icu4c.yml b/.github/workflows/icu4c.yml index 0dcb475952a..93406610ecb 100644 --- a/.github/workflows/icu4c.yml +++ b/.github/workflows/icu4c.yml @@ -740,13 +740,13 @@ jobs: runs-on: ubuntu-22.04 # Updated in BRS steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: bazelbuild/setup-bazelisk@b39c379c82683a5f25d34f0d062761f62693e0b2 # v3.0.0 + - uses: bazel-contrib/setup-bazel@0.13.0 - name: Get CI Linux runner VM version id: linux-version run: | echo "LINUX_VERSION=$(grep -F VERSION_ID /etc/os-release | cut -d'"' -f2)" >> $GITHUB_OUTPUT - name: Mount bazel cache - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@v4.2.0 with: path: "~/.cache/bazel" key: bazel-${{ runner.os }}-${{ steps.linux-version.outputs.LINUX_VERSION }} diff --git a/.github/workflows/icu_merge_ci.yml b/.github/workflows/icu_merge_ci.yml index d920e0566ff..feb36be4fc8 100644 --- a/.github/workflows/icu_merge_ci.yml +++ b/.github/workflows/icu_merge_ci.yml @@ -45,7 +45,7 @@ jobs: - name: Checkout lfs objects run: git lfs pull - name: Cache local Maven repository - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@v4.2.0 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -71,7 +71,7 @@ jobs: - name: Checkout lfs objects run: git lfs pull - name: Lookup read-only cache of local Maven repository - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@v4.2.0 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -335,7 +335,7 @@ jobs: - name: Checkout lfs objects run: git lfs pull - name: Lookup read-only cache of local Maven repository - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@v4.2.0 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -392,7 +392,7 @@ jobs: - name: Checkout lfs objects run: git lfs pull - name: Lookup read-only cache of local Maven repository - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@v4.2.0 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -451,7 +451,7 @@ jobs: - name: Checkout lfs objects run: git lfs pull - name: Lookup read-only cache of local Maven repository - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@v4.2.0 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -515,7 +515,7 @@ jobs: - name: Checkout lfs objects run: git lfs pull - name: Lookup read-only cache of local Maven repository - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@v4.2.0 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -649,7 +649,7 @@ jobs: - name: Checkout lfs objects run: git lfs pull - name: Lookup read-only cache of local Maven repository - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@v4.2.0 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -727,7 +727,7 @@ jobs: - name: Checkout lfs objects run: git lfs pull - name: Lookup read-only cache of local Maven repository - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@v4.2.0 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}