From 1c73358fdc244e91b4c8e27fa0adc74c7c6c1fe3 Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Fri, 6 Dec 2024 17:15:03 +0100 Subject: [PATCH] Update actions (#19395) Updates actions to more recent versions. This is in particular important in case of `actions/cache` as older versions will get deprecated and upstream highly recommends to update, see https://github.com/actions/cache/releases/tag/v4.2.0. --- .github/workflows/build_package.yml | 4 ++-- .github/workflows/bump_torch_mlir.yml | 4 ++-- .github/workflows/ci.yml | 10 +++++----- .github/workflows/ci_linux_arm64_clang.yml | 2 +- .github/workflows/ci_linux_x64_bazel.yml | 2 +- .github/workflows/ci_linux_x64_clang.yml | 2 +- .github/workflows/ci_linux_x64_clang_asan.yml | 2 +- .github/workflows/ci_linux_x64_clang_byollvm.yml | 2 +- .github/workflows/ci_linux_x64_clang_debug.yml | 2 +- .github/workflows/ci_linux_x64_clang_tsan.yml | 2 +- .github/workflows/ci_linux_x64_gcc.yml | 2 +- .github/workflows/ci_macos_x64_clang.yml | 4 ++-- .github/workflows/ci_windows_x64_msvc.yml | 4 ++-- .github/workflows/lint.yml | 4 ++-- .github/workflows/oneshot_candidate_release.yml | 2 +- .github/workflows/pkgci_build_packages.yml | 8 ++++---- .github/workflows/pkgci_regression_test.yml | 10 +++++----- .github/workflows/pkgci_test_amd_mi250.yml | 4 ++-- .github/workflows/pkgci_test_amd_mi300.yml | 4 ++-- .github/workflows/pkgci_test_amd_w7900.yml | 4 ++-- .github/workflows/pkgci_test_android.yml | 4 ++-- .github/workflows/pkgci_test_nvidia_t4.yml | 4 ++-- .github/workflows/pkgci_test_onnx.yml | 12 ++++++------ .github/workflows/pkgci_test_pjrt.yml | 4 ++-- .github/workflows/pkgci_test_riscv64.yml | 4 ++-- .github/workflows/pkgci_test_sharktank.yml | 6 +++--- .github/workflows/pkgci_test_tensorflow.yml | 4 ++-- .github/workflows/pkgci_unit_test.yml | 4 ++-- .github/workflows/publish_website.yml | 4 ++-- .github/workflows/samples.yml | 12 ++++++------ .github/workflows/schedule_candidate_release.yml | 2 +- .github/workflows/setup.yml | 2 +- .github/workflows/validate_and_publish_release.yml | 6 +++--- 33 files changed, 73 insertions(+), 73 deletions(-) diff --git a/.github/workflows/build_package.yml b/.github/workflows/build_package.yml index 9e6a44649658..8f40765af628 100644 --- a/.github/workflows/build_package.yml +++ b/.github/workflows/build_package.yml @@ -47,7 +47,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Checkout repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: path: "c" # Windows can hit path length limits, so use a short path. submodules: false @@ -181,7 +181,7 @@ jobs: MANYLINUX_AARCH64_IMAGE: quay.io/pypa/manylinux_2_28_aarch64 steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: path: "c" # Windows can hit path length limits, so use a short path. submodules: true diff --git a/.github/workflows/bump_torch_mlir.yml b/.github/workflows/bump_torch_mlir.yml index efb47b8adff8..3a7d043f6886 100644 --- a/.github/workflows/bump_torch_mlir.yml +++ b/.github/workflows/bump_torch_mlir.yml @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: false @@ -61,7 +61,7 @@ jobs: echo "TORCH_MLIR_COMMIT=$TORCH_MLIR_COMMIT" >> $GITHUB_OUTPUT - name: Create Pull Request - uses: peter-evans/create-pull-request@8867c4aba1b742c39f8d0ba35429c2dfa4b6cb20 # v7.0.1 + uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5 with: token: ${{ secrets.GITHUB_TOKEN }} base: main diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 29fa53710d07..985ed44b9176 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,8 +70,8 @@ jobs: env: BUILD_DIR: build-runtime steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: python-version: "3.11" @@ -126,7 +126,7 @@ jobs: CC: clang CXX: clang++ steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Install requirements run: sudo apt update && sudo apt install -y ninja-build - name: Checkout runtime submodules @@ -169,7 +169,7 @@ jobs: CXX: clang++ TRACING_PROVIDER: ${{ matrix.provider }} steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Install requirements run: sudo apt update && sudo apt install -y ninja-build - name: Checkout runtime submodules @@ -213,7 +213,7 @@ jobs: - runtime_tracing steps: - name: "Checking out repository" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Getting failed jobs id: failed_jobs run: | diff --git a/.github/workflows/ci_linux_arm64_clang.yml b/.github/workflows/ci_linux_arm64_clang.yml index 8ed3280d0936..70456342dc6b 100644 --- a/.github/workflows/ci_linux_arm64_clang.yml +++ b/.github/workflows/ci_linux_arm64_clang.yml @@ -40,7 +40,7 @@ jobs: BUILD_DIR: build-arm64 steps: - name: "Checking out repository" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: true - name: Install Python requirements diff --git a/.github/workflows/ci_linux_x64_bazel.yml b/.github/workflows/ci_linux_x64_bazel.yml index cb1e8ec95f51..9f5df807bbfb 100644 --- a/.github/workflows/ci_linux_x64_bazel.yml +++ b/.github/workflows/ci_linux_x64_bazel.yml @@ -40,7 +40,7 @@ jobs: shell: bash steps: - name: "Checking out repository" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: true - name: Install Python requirements diff --git a/.github/workflows/ci_linux_x64_clang.yml b/.github/workflows/ci_linux_x64_clang.yml index 6e7553e8ed98..834869f938fa 100644 --- a/.github/workflows/ci_linux_x64_clang.yml +++ b/.github/workflows/ci_linux_x64_clang.yml @@ -42,7 +42,7 @@ jobs: SCCACHE_AZURE_KEY_PREFIX: "ci_linux_x64_clang" steps: - name: "Checking out repository" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: true - name: Install Python requirements diff --git a/.github/workflows/ci_linux_x64_clang_asan.yml b/.github/workflows/ci_linux_x64_clang_asan.yml index 6e3103e1a64d..1a0247e62945 100644 --- a/.github/workflows/ci_linux_x64_clang_asan.yml +++ b/.github/workflows/ci_linux_x64_clang_asan.yml @@ -35,7 +35,7 @@ jobs: shell: bash steps: - name: "Checking out repository" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: true - name: Install Python requirements diff --git a/.github/workflows/ci_linux_x64_clang_byollvm.yml b/.github/workflows/ci_linux_x64_clang_byollvm.yml index bf42a464c45d..6cc7fd125971 100644 --- a/.github/workflows/ci_linux_x64_clang_byollvm.yml +++ b/.github/workflows/ci_linux_x64_clang_byollvm.yml @@ -32,7 +32,7 @@ jobs: shell: bash steps: - name: "Checking out repository" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: true - name: "Building and testing with bring-your-own-LLVM" diff --git a/.github/workflows/ci_linux_x64_clang_debug.yml b/.github/workflows/ci_linux_x64_clang_debug.yml index 551e7f498309..2904785dff1d 100644 --- a/.github/workflows/ci_linux_x64_clang_debug.yml +++ b/.github/workflows/ci_linux_x64_clang_debug.yml @@ -44,7 +44,7 @@ jobs: SCCACHE_AZURE_KEY_PREFIX: "ci_linux_x64_clang_debug" steps: - name: "Checking out repository" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: true - name: Install Python requirements diff --git a/.github/workflows/ci_linux_x64_clang_tsan.yml b/.github/workflows/ci_linux_x64_clang_tsan.yml index 0351a9d7bc98..562f542e22f5 100644 --- a/.github/workflows/ci_linux_x64_clang_tsan.yml +++ b/.github/workflows/ci_linux_x64_clang_tsan.yml @@ -43,7 +43,7 @@ jobs: shell: bash steps: - name: "Checking out repository" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: true - name: Install Python requirements diff --git a/.github/workflows/ci_linux_x64_gcc.yml b/.github/workflows/ci_linux_x64_gcc.yml index b5e671cc0b2e..130282739f31 100644 --- a/.github/workflows/ci_linux_x64_gcc.yml +++ b/.github/workflows/ci_linux_x64_gcc.yml @@ -34,7 +34,7 @@ jobs: BUILD_DIR: build-gcc steps: - name: "Checking out repository" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: true - name: "Building IREE with gcc" diff --git a/.github/workflows/ci_macos_x64_clang.yml b/.github/workflows/ci_macos_x64_clang.yml index e679e2cf5e57..a0ea64f26daf 100644 --- a/.github/workflows/ci_macos_x64_clang.yml +++ b/.github/workflows/ci_macos_x64_clang.yml @@ -30,7 +30,7 @@ jobs: shell: bash steps: - name: "Checking out repository" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: "Updating git submodules" run: git submodule update --init --jobs 8 --depth 1 # There may be multiple versions of Xcode and SDKs installed. @@ -41,7 +41,7 @@ jobs: xcrun metal --version xcrun metallib --version - name: "Setting up Python" - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: python-version: "3.11" cache: "pip" diff --git a/.github/workflows/ci_windows_x64_msvc.yml b/.github/workflows/ci_windows_x64_msvc.yml index ef1c596a2ecc..b22aaffa79d7 100644 --- a/.github/workflows/ci_windows_x64_msvc.yml +++ b/.github/workflows/ci_windows_x64_msvc.yml @@ -30,7 +30,7 @@ jobs: SCCACHE_AZURE_KEY_PREFIX: "ci_windows_x64_msvc" steps: - name: "Checking out repository" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: true - name: "Create build dir" @@ -44,7 +44,7 @@ jobs: echo "BUILD_DIR_BASH=$bashBuildDir" >> $env:GITHUB_ENV Write-Host "Converted Build Directory For Bash: $bashBuildDir" - name: "Setting up Python" - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: python-version: "3.11" - name: "Installing Python packages" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c199d360bd49..2799d158e948 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,8 +16,8 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checking out repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setting up python - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 - name: Running pre-commit uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 diff --git a/.github/workflows/oneshot_candidate_release.yml b/.github/workflows/oneshot_candidate_release.yml index 66bd42d9fac1..94032cf5bd96 100644 --- a/.github/workflows/oneshot_candidate_release.yml +++ b/.github/workflows/oneshot_candidate_release.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checking out repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: token: ${{ secrets.WRITE_ACCESS_TOKEN }} diff --git a/.github/workflows/pkgci_build_packages.yml b/.github/workflows/pkgci_build_packages.yml index 03d35675c9c2..3e397eb74ce9 100644 --- a/.github/workflows/pkgci_build_packages.yml +++ b/.github/workflows/pkgci_build_packages.yml @@ -23,7 +23,7 @@ jobs: run: | docker pull "$MANYLINUX_DOCKER_IMAGE" & - name: Checking out repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: true - name: Setup Python @@ -74,7 +74,7 @@ jobs: cat runtime/version_local.json - name: Enable cache - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ env.CACHE_DIR }} key: iree-pkgci-linux-release-x86_64-v1-${{ github.sha }} @@ -123,7 +123,7 @@ jobs: # run: | # docker pull "$MANYLINUX_DOCKER_IMAGE" & # - name: "Checking out repository" -# uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 +# uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 # with: # submodules: true # - name: Write version info @@ -139,7 +139,7 @@ jobs: # realpath version_info.json # cat version_info.json # - name: Enable cache -# uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 +# uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 # with: # path: ${{ env.CACHE_DIR }} # key: iree-pkgci-linux-release-asserts-x86_64-v1-${{ github.sha }} diff --git a/.github/workflows/pkgci_regression_test.yml b/.github/workflows/pkgci_regression_test.yml index 7a67778c0585..0491d2b5de4d 100644 --- a/.github/workflows/pkgci_regression_test.yml +++ b/.github/workflows/pkgci_regression_test.yml @@ -63,10 +63,10 @@ jobs: VENV_DIR: ${{ github.workspace }}/venv steps: - name: Checking out IREE repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: false - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: # Must match the subset of versions built in pkgci_build_packages. python-version: "3.11" @@ -82,7 +82,7 @@ jobs: # Out of tree tests - name: Check out external TestSuite repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: repository: nod-ai/SHARK-TestSuite ref: f5615ab29da491c0047146258dfa3a0c40c735e5 @@ -152,10 +152,10 @@ jobs: TEST_OUTPUT_ARTIFACTS: ${{ github.workspace }}/model_output_artifacts steps: - name: Checking out IREE repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: false - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: # Must match the subset of versions built in pkgci_build_packages. python-version: "3.11" diff --git a/.github/workflows/pkgci_test_amd_mi250.yml b/.github/workflows/pkgci_test_amd_mi250.yml index 623bb47aa64f..c51f4e42285e 100644 --- a/.github/workflows/pkgci_test_amd_mi250.yml +++ b/.github/workflows/pkgci_test_amd_mi250.yml @@ -33,12 +33,12 @@ jobs: IREE_HIP_TEST_TARGET_CHIP: "gfx90a" steps: - name: Check out repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: false - name: Check out runtime submodules run: ./build_tools/scripts/git/update_runtime_submodules.sh - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: # Must match the subset of versions built in pkgci_build_packages. python-version: "3.11" diff --git a/.github/workflows/pkgci_test_amd_mi300.yml b/.github/workflows/pkgci_test_amd_mi300.yml index 1c6ad99a66c7..a1b80731afb3 100644 --- a/.github/workflows/pkgci_test_amd_mi300.yml +++ b/.github/workflows/pkgci_test_amd_mi300.yml @@ -33,12 +33,12 @@ jobs: IREE_HIP_TEST_TARGET_CHIP: "gfx942" steps: - name: Check out repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: false - name: Check out runtime submodules run: ./build_tools/scripts/git/update_runtime_submodules.sh - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: # Must match the subset of versions built in pkgci_build_packages. python-version: "3.11" diff --git a/.github/workflows/pkgci_test_amd_w7900.yml b/.github/workflows/pkgci_test_amd_w7900.yml index d73617e95727..67858ece0e3e 100644 --- a/.github/workflows/pkgci_test_amd_w7900.yml +++ b/.github/workflows/pkgci_test_amd_w7900.yml @@ -31,12 +31,12 @@ jobs: IREE_HIP_TEST_TARGET_CHIP: "gfx1100" steps: - name: Check out repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: false - name: Check out runtime submodules run: ./build_tools/scripts/git/update_runtime_submodules.sh - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: # Must match the subset of versions built in pkgci_build_packages. python-version: "3.11" diff --git a/.github/workflows/pkgci_test_android.yml b/.github/workflows/pkgci_test_android.yml index c0ca0d1d626d..348d8313320b 100644 --- a/.github/workflows/pkgci_test_android.yml +++ b/.github/workflows/pkgci_test_android.yml @@ -42,10 +42,10 @@ jobs: steps: # General setup. - name: "Checking out repository" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: "Checking out runtime submodules" run: ./build_tools/scripts/git/update_runtime_submodules.sh - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: # Must match the subset of versions built in pkgci_build_packages. python-version: "3.11" diff --git a/.github/workflows/pkgci_test_nvidia_t4.yml b/.github/workflows/pkgci_test_nvidia_t4.yml index b59cb20bc1b1..15271bdc390f 100644 --- a/.github/workflows/pkgci_test_nvidia_t4.yml +++ b/.github/workflows/pkgci_test_nvidia_t4.yml @@ -38,7 +38,7 @@ jobs: IREE_HIP_ENABLE: 0 steps: - name: Check out repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: false - name: Check out runtime submodules @@ -47,7 +47,7 @@ jobs: run: | ./build_tools/scripts/check_cuda.sh ./build_tools/scripts/check_vulkan.sh - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: # Must match the subset of versions built in pkgci_build_packages. python-version: "3.11" diff --git a/.github/workflows/pkgci_test_onnx.yml b/.github/workflows/pkgci_test_onnx.yml index d352d27da711..13a6f34a6b9b 100644 --- a/.github/workflows/pkgci_test_onnx.yml +++ b/.github/workflows/pkgci_test_onnx.yml @@ -69,10 +69,10 @@ jobs: VENV_DIR: ${{ github.workspace }}/venv steps: - name: Checking out IREE repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: false - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: # Must match the subset of versions built in pkgci_build_packages. python-version: "3.11" @@ -87,7 +87,7 @@ jobs: --fetch-gh-workflow=${{ inputs.artifact_run_id }} - name: Checkout test suites repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: repository: iree-org/iree-test-suites ref: 8e6af9e75d874ef8c9f8ff55f12cb38157dd55eb @@ -137,10 +137,10 @@ jobs: VENV_DIR: ${{ github.workspace }}/venv steps: - name: Checking out IREE repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: false - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: # Must match the subset of versions built in pkgci_build_packages. python-version: "3.11" @@ -155,7 +155,7 @@ jobs: --fetch-gh-workflow=${{ inputs.artifact_run_id }} - name: Checkout test suites repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: repository: iree-org/iree-test-suites ref: 8e6af9e75d874ef8c9f8ff55f12cb38157dd55eb diff --git a/.github/workflows/pkgci_test_pjrt.yml b/.github/workflows/pkgci_test_pjrt.yml index 9978a7f3bcd3..a32b1c4503da 100644 --- a/.github/workflows/pkgci_test_pjrt.yml +++ b/.github/workflows/pkgci_test_pjrt.yml @@ -39,10 +39,10 @@ jobs: VENV_DIR: ${{ github.workspace }}/.venv steps: - name: Checking out repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: true - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: # Must match the subset of versions built in pkgci_build_packages. python-version: "3.11" diff --git a/.github/workflows/pkgci_test_riscv64.yml b/.github/workflows/pkgci_test_riscv64.yml index 57aa8d02df62..c51dd70027f6 100644 --- a/.github/workflows/pkgci_test_riscv64.yml +++ b/.github/workflows/pkgci_test_riscv64.yml @@ -44,10 +44,10 @@ jobs: steps: # General setup. - name: "Checking out repository" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: "Checking out runtime submodules" run: ./build_tools/scripts/git/update_runtime_submodules.sh - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: # Must match the subset of versions built in pkgci_build_packages. python-version: "3.11" diff --git a/.github/workflows/pkgci_test_sharktank.yml b/.github/workflows/pkgci_test_sharktank.yml index 42140f7c2db8..c58216d88206 100644 --- a/.github/workflows/pkgci_test_sharktank.yml +++ b/.github/workflows/pkgci_test_sharktank.yml @@ -33,10 +33,10 @@ jobs: VENV_DIR: ${{ github.workspace }}/venv steps: - name: Checking out IREE repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: false - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: # Must match the subset of versions built in pkgci_build_packages. python-version: "3.11" @@ -51,7 +51,7 @@ jobs: --fetch-gh-workflow=${{ inputs.artifact_run_id }} - name: Checkout test suites repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: repository: iree-org/iree-test-suites ref: a0c84d59c4332463dd46a3c4877d8e0ab2e0a80d diff --git a/.github/workflows/pkgci_test_tensorflow.yml b/.github/workflows/pkgci_test_tensorflow.yml index 087be8080793..faec47c487fe 100644 --- a/.github/workflows/pkgci_test_tensorflow.yml +++ b/.github/workflows/pkgci_test_tensorflow.yml @@ -27,10 +27,10 @@ jobs: IREE_VMVX_DISABLE: 0 steps: - name: Checking out repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: false - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: # Must match the subset of versions built in pkgci_build_packages. python-version: "3.11" diff --git a/.github/workflows/pkgci_unit_test.yml b/.github/workflows/pkgci_unit_test.yml index 7825f3bdce62..ebb8bb5a6e93 100644 --- a/.github/workflows/pkgci_unit_test.yml +++ b/.github/workflows/pkgci_unit_test.yml @@ -26,10 +26,10 @@ jobs: VENV_DIR: ${{ github.workspace }}/.venv steps: - name: Checking out repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: false - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: # Must match the subset of versions built in pkgci_build_packages. python-version: "3.11" diff --git a/.github/workflows/publish_website.yml b/.github/workflows/publish_website.yml index 6b185b0f4e3c..110e34ac9f00 100644 --- a/.github/workflows/publish_website.yml +++ b/.github/workflows/publish_website.yml @@ -35,7 +35,7 @@ jobs: CXX: clang++ steps: - name: Checkout out repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: true token: ${{ secrets.WRITE_ACCESS_TOKEN }} @@ -43,7 +43,7 @@ jobs: # We have to explicitly fetch the gh-pages branch as well to preserve history run: git fetch --no-tags --prune --depth=1 origin "gh-pages:gh-pages" - name: Setting up Python - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: python-version: 3.x cache: "pip" diff --git a/.github/workflows/samples.yml b/.github/workflows/samples.yml index c39e8acf3cfa..d7b7e05740ec 100644 --- a/.github/workflows/samples.yml +++ b/.github/workflows/samples.yml @@ -31,9 +31,9 @@ jobs: runs-on: ubuntu-20.04 steps: - name: "Checking out repository" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: "Setting up Python" - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: python-version: "3.11" - name: "Testing Colab Notebooks" @@ -46,13 +46,13 @@ jobs: CXX: clang++ steps: - name: "Checking out repository" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: "Checking out runtime submodules" run: ./build_tools/scripts/git/update_runtime_submodules.sh - name: "Installing build dependencies" run: sudo apt update && sudo apt install -y ninja-build - name: "Setting up Python" - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: python-version: "3.11" - name: "Testing Samples" @@ -69,14 +69,14 @@ jobs: shell: bash steps: - name: "Check out repository" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: "Mark git safe.directory" run: git config --global --add safe.directory '*' - name: "Check out runtime submodules" run: ./build_tools/scripts/git/update_runtime_submodules.sh - name: "Installing build dependencies" run: sudo apt update && sudo apt install -y ninja-build - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: python-version: "3.11" - name: "Setup Python venv" diff --git a/.github/workflows/schedule_candidate_release.yml b/.github/workflows/schedule_candidate_release.yml index c467a62f3988..882ab39bbd36 100644 --- a/.github/workflows/schedule_candidate_release.yml +++ b/.github/workflows/schedule_candidate_release.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checking out repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: token: ${{ secrets.WRITE_ACCESS_TOKEN }} fetch-depth: 0 diff --git a/.github/workflows/setup.yml b/.github/workflows/setup.yml index 02d1e6713a09..cca292e9e467 100644 --- a/.github/workflows/setup.yml +++ b/.github/workflows/setup.yml @@ -52,7 +52,7 @@ jobs: write-caches: ${{ steps.configure.outputs.write-caches }} steps: - name: "Checking out repository" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: # We need the parent commit to do a diff fetch-depth: 2 diff --git a/.github/workflows/validate_and_publish_release.yml b/.github/workflows/validate_and_publish_release.yml index 84ad72bf88d9..15e4affd0392 100644 --- a/.github/workflows/validate_and_publish_release.yml +++ b/.github/workflows/validate_and_publish_release.yml @@ -35,7 +35,7 @@ jobs: ls -R - name: Set up python id: set_up_python - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: python-version: "3.9" - name: Install python packages @@ -122,7 +122,7 @@ jobs: release_id: ${{ github.event.inputs.release_id }} - name: Checking out repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: token: ${{ secrets.WRITE_ACCESS_TOKEN }} # Get all history. Otherwise the latest-snapshot branch can't be @@ -130,7 +130,7 @@ jobs: fetch-depth: 0 - name: Set up python - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.1.0 + uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: python-version: "3.9"