From 2bcaf53bd3549fceff4ffddcc570aa0359a70c94 Mon Sep 17 00:00:00 2001 From: Mike Han Date: Mon, 15 Apr 2024 12:26:29 -0600 Subject: [PATCH] bump actions in workflows --- .github/workflows/release.yml | 20 ++++++++-------- .github/workflows/test.yml | 44 +++++++++++++++++------------------ 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c513fa9..bd2a486d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: echo "tag_name=${TAG_NAME}" >> $GITHUB_OUTPUT - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: ${{ steps.prep.outputs.tag_name == '' }} with: ref: ${{ github.ref }} @@ -42,7 +42,7 @@ jobs: - name: Setup Node if: ${{ steps.prep.outputs.tag_name == '' }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'npm' @@ -119,14 +119,14 @@ jobs: - run: Write-Output "${{ steps.prep.outputs.release_id }} - ${{ steps.prep.outputs.version }} - ${{ steps.prep.outputs.asset_id }}" - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: ${{ steps.prep.outputs.asset_id == '' }} with: ref: ${{ steps.prep.outputs.version }} - name: Setup Node if: ${{ steps.prep.outputs.asset_id == '' }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'npm' @@ -195,14 +195,14 @@ jobs: - run: echo "${{ steps.prep.outputs.release_id }} - ${{ steps.prep.outputs.version }} - ${{ steps.prep.outputs.asset_id }}" - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: ${{ steps.prep.outputs.asset_id == '' }} with: ref: ${{ steps.prep.outputs.version }} - name: Setup Node if: ${{ steps.prep.outputs.asset_id == '' }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'npm' @@ -268,10 +268,10 @@ jobs: SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup saucectl - uses: saucelabs/saucectl-run-action@v3 + uses: saucelabs/saucectl-run-action@v4 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -299,10 +299,10 @@ jobs: SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup saucectl - uses: saucelabs/saucectl-run-action@v3 + uses: saucelabs/saucectl-run-action@v4 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1927fdc7..45433358 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,10 +19,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'npm' @@ -43,10 +43,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'npm' @@ -75,26 +75,26 @@ jobs: needs: [test] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'npm' - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' - name: Google Cloud Login - uses: google-github-actions/auth@v1 + uses: google-github-actions/auth@v2 with: credentials_json: '${{ secrets.GCS_RUNNER_SA_KEY }}' - name: Install gcloud SDK - uses: google-github-actions/setup-gcloud@v1 + uses: google-github-actions/setup-gcloud@v2 with: project_id: ${{ secrets.GCS_RUNNER_PROJECT_ID }} env: @@ -111,7 +111,7 @@ jobs: Write-Output "cypress_version=$((Get-Content ./package.json -Raw | ConvertFrom-Json).dependencies.cypress)" >> $env:GITHUB_ENV - name: Archive Bundle - uses: azure/powershell@v1 + uses: azure/powershell@v2 with: inlineScript: | Compress-Archive bundle/ cypress-windows-amd64.zip @@ -126,26 +126,26 @@ jobs: needs: [test] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: 'npm' - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' - name: Google Cloud Login - uses: google-github-actions/auth@v1 + uses: google-github-actions/auth@v2 with: credentials_json: '${{ secrets.GCS_RUNNER_SA_KEY }}' - name: Install gcloud SDK - uses: google-github-actions/setup-gcloud@v1 + uses: google-github-actions/setup-gcloud@v2 with: project_id: ${{ secrets.GCS_RUNNER_PROJECT_ID }} env: @@ -190,10 +190,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup saucectl - uses: saucelabs/saucectl-run-action@v3 + uses: saucelabs/saucectl-run-action@v4 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -232,14 +232,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout runner - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.11' - name: Setup saucectl - uses: saucelabs/saucectl-run-action@v3 + uses: saucelabs/saucectl-run-action@v4 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -283,10 +283,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup saucectl - uses: saucelabs/saucectl-run-action@v3 + uses: saucelabs/saucectl-run-action@v4 env: GITHUB_TOKEN: ${{ github.token }} with: