From 65899a5ad560fbc7832d6ac61ff28366e7bc4431 Mon Sep 17 00:00:00 2001 From: "Shahar \"Dawn\" Or" Date: Tue, 5 Nov 2024 21:48:35 +0700 Subject: [PATCH] Bump GitHub action actions/checkout from v3 to v4 The breaking change seems to be something about the default Node.js runtime: https://github.com/actions/checkout/blob/main/CHANGELOG.md#v400 Also in example in documentation, for the sake of the copy-pasting user (me). --- .github/workflows/build.yaml | 2 +- .github/workflows/check-and-test.yaml | 4 ++-- .github/workflows/flakehub.yaml | 2 +- .github/workflows/keygen.yaml | 2 +- .github/workflows/release-branches.yml | 2 +- .github/workflows/release-prs.yml | 2 +- .github/workflows/release-tags.yml | 2 +- README.md | 4 ++-- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8ea9930..2bc09fd 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -29,7 +29,7 @@ jobs: system: ARM64-macOS runner: macos-latest-xlarge steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Nix on ${{ matrix.systems.system }} uses: DeterminateSystems/nix-installer-action@main - name: Magic Nix Cache diff --git a/.github/workflows/check-and-test.yaml b/.github/workflows/check-and-test.yaml index 8b11b2a..116a6d4 100644 --- a/.github/workflows/check-and-test.yaml +++ b/.github/workflows/check-and-test.yaml @@ -13,7 +13,7 @@ jobs: contents: read id-token: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Nix uses: DeterminateSystems/nix-installer-action@main @@ -60,7 +60,7 @@ jobs: contents: read id-token: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download closure for ${{ matrix.systems.system }} uses: actions/download-artifact@v3 diff --git a/.github/workflows/flakehub.yaml b/.github/workflows/flakehub.yaml index f66eeb6..9b5aae4 100644 --- a/.github/workflows/flakehub.yaml +++ b/.github/workflows/flakehub.yaml @@ -12,7 +12,7 @@ jobs: id-token: "write" contents: "read" steps: - - uses: "actions/checkout@v3" + - uses: "actions/checkout@v4" - uses: "DeterminateSystems/nix-installer-action@main" - uses: "DeterminateSystems/flakehub-push@main" with: diff --git a/.github/workflows/keygen.yaml b/.github/workflows/keygen.yaml index 01e6696..ca0ec79 100644 --- a/.github/workflows/keygen.yaml +++ b/.github/workflows/keygen.yaml @@ -5,7 +5,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Nix uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/magic-nix-cache-action@main diff --git a/.github/workflows/release-branches.yml b/.github/workflows/release-branches.yml index 86e1b71..16fdffc 100644 --- a/.github/workflows/release-branches.yml +++ b/.github/workflows/release-branches.yml @@ -22,7 +22,7 @@ jobs: id-token: write # In order to request a JWT for AWS auth steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v2 with: diff --git a/.github/workflows/release-prs.yml b/.github/workflows/release-prs.yml index 7364c74..501e20c 100644 --- a/.github/workflows/release-prs.yml +++ b/.github/workflows/release-prs.yml @@ -31,7 +31,7 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Create the artifacts directory run: rm -rf ./artifacts && mkdir ./artifacts diff --git a/.github/workflows/release-tags.yml b/.github/workflows/release-tags.yml index 5a2773f..8f0bda7 100644 --- a/.github/workflows/release-tags.yml +++ b/.github/workflows/release-tags.yml @@ -19,7 +19,7 @@ jobs: id-token: write # In order to request a JWT for AWS auth steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Create the artifacts directory run: rm -rf ./artifacts && mkdir ./artifacts diff --git a/README.md b/README.md index fd11b3c..573c4ea 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ permissions: contents: read id-token: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/magic-nix-cache-action@main - run: nix flake check @@ -52,7 +52,7 @@ jobs: contents: read id-token: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/magic-nix-cache-action@main - run: nix flake check