From 2948e38529f150b777df68403863cc18c1f3c44f Mon Sep 17 00:00:00 2001 From: Mikkel Blyme Date: Sun, 2 Jun 2024 17:31:47 +0200 Subject: [PATCH] Update versions of actions used --- .github/workflows/tests.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 41d2ea8..0d0b949 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ jobs: name: "Testing on a branch that has an active, deployed environment" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ./ with: @@ -20,7 +20,7 @@ jobs: name: "Testing on a environment that has a failed deployment" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ./ id: failed_url @@ -29,11 +29,11 @@ jobs: PLATFORMSH_ID: ${{ secrets.TEST_PLATFORMSH_ID }} PLATFORMSH_KEY: ${{ secrets.TEST_PLATFORMSH_KEY }} ENVIRONMENT_NAME: master - DEPLOY_STATUS_PATH: '/sites/default/files/mock-deploy-status' + DEPLOY_STATUS_PATH: "/sites/default/files/mock-deploy-status" - name: Check for failure if: ${{ steps.failed_url.outcome != 'failure' }} - uses: actions/github-script@v3 + uses: actions/github-script@v7 with: script: | core.setFailed('The test did not fail as expected.') @@ -42,7 +42,7 @@ jobs: name: "Testing on a environment that does not exist" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ./ id: missing_url @@ -54,7 +54,7 @@ jobs: - name: Check for failure if: ${{ steps.missing_url.outcome != 'failure' }} - uses: actions/github-script@v3 + uses: actions/github-script@v7 with: script: | core.setFailed('The test did not fail as expected.')