From f5e31981918a89aa04ba892f3a4a4210d8bb5263 Mon Sep 17 00:00:00 2001 From: Sergey Gulin Date: Thu, 21 Dec 2023 20:47:56 +0300 Subject: [PATCH] [Chore] Update "actions/checkout" Problem: node16 is now deprecated and github-runner provided by nixpkgs no longer supports this runtime. However, "actions/checkout@v3" uses this runtime. Solution: Update CI pipeline to use "actions/checkout@v4". --- .github/workflows/build-bottles.yml | 6 +++--- .github/workflows/check-formulas.yml | 2 +- .github/workflows/test-binaries.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-bottles.yml b/.github/workflows/build-bottles.yml index 7c4ca9247..72aecb20c 100644 --- a/.github/workflows/build-bottles.yml +++ b/.github/workflows/build-bottles.yml @@ -20,7 +20,7 @@ jobs: formula: [tezos-accuser-PtNairob, tezos-accuser-Proxford, tezos-admin-client, tezos-baker-PtNairob, tezos-baker-Proxford, tezos-client, tezos-codec, tezos-node, tezos-signer, tezos-smart-rollup-node, tezos-dac-client, tezos-dac-node, tezos-smart-rollup-wasm-debugger] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install GNU sed run: | @@ -52,7 +52,7 @@ jobs: - name: Upload the bottle to Github Actions if: steps.check-built.outcome == 'failure' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: homebrew-bottles-${{ matrix.os }} path: '*.bottle.*' @@ -68,7 +68,7 @@ jobs: needs: build-bottles steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install GNU sed run: | diff --git a/.github/workflows/check-formulas.yml b/.github/workflows/check-formulas.yml index e90340ae3..ebc7a8e48 100644 --- a/.github/workflows/check-formulas.yml +++ b/.github/workflows/check-formulas.yml @@ -10,7 +10,7 @@ jobs: runs-on: macos-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Check formula syntax run: ruby -c ./Formula/*.rb diff --git a/.github/workflows/test-binaries.yml b/.github/workflows/test-binaries.yml index a25f3ba8a..2499ef494 100644 --- a/.github/workflows/test-binaries.yml +++ b/.github/workflows/test-binaries.yml @@ -10,7 +10,7 @@ jobs: runs-on: [self-hosted, Linux, X64, nix] steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Test fedora binaries run: nix develop .#buildkite -c ./docker/tests/scripts/test-fedora-binaries.sh