From a659c7435543d87ed7532b8e0fc9f8335dcefc98 Mon Sep 17 00:00:00 2001 From: svc-cli-bot <113140650+svc-cli-bot@users.noreply.github.com> Date: Wed, 15 Nov 2023 14:35:55 -0600 Subject: [PATCH] chore: update github actions [no ci] (#720) --- .github/workflows/failureNotifications.yml | 4 +--- .github/workflows/onRelease.yml | 2 +- .github/workflows/test.yml | 10 +++++----- .github/workflows/update-npm-version.yml | 4 ++-- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/failureNotifications.yml b/.github/workflows/failureNotifications.yml index 8392418e..46bca6cc 100644 --- a/.github/workflows/failureNotifications.yml +++ b/.github/workflows/failureNotifications.yml @@ -1,5 +1,4 @@ name: failureNotifications - on: workflow_run: workflows: @@ -8,7 +7,6 @@ on: - update-npm-version types: - completed - jobs: failure-notify: runs-on: ubuntu-latest @@ -16,7 +14,7 @@ jobs: steps: - name: Announce Failure id: slack - uses: slackapi/slack-github-action@v1.21.0 + uses: slackapi/slack-github-action@v1.24.0 env: # for non-CLI-team-owned plugins, you can send this anywhere you like SLACK_WEBHOOK_URL: ${{ secrets.CLI_ALERTS_SLACK_WEBHOOK }} diff --git a/.github/workflows/onRelease.yml b/.github/workflows/onRelease.yml index 02bebdfa..d5738717 100644 --- a/.github/workflows/onRelease.yml +++ b/.github/workflows/onRelease.yml @@ -17,7 +17,7 @@ jobs: tag: ${{ steps.distTag.outputs.tag }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.release.tag_name || inputs.tag }} - uses: salesforcecli/github-workflows/.github/actions/getPreReleaseTag@main diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 66a01be9..4e03e2b3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,12 +20,12 @@ jobs: os: [ubuntu-latest, windows-latest] runs-on: ${{matrix.os}} steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: lts/* - name: Install sf - uses: nick-fields/retry@943e742917ac94714d2f408a0e8320f2d1fcafcd + uses: salesforcecli/github-workflows/.github/actions/retry@main with: max_attempts: 3 retry_wait_seconds: 60 @@ -47,8 +47,8 @@ jobs: test: test:integration:link runs-on: ${{matrix.os}} steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: latest - uses: salesforcecli/github-workflows/.github/actions/yarnInstallWithRetries@main diff --git a/.github/workflows/update-npm-version.yml b/.github/workflows/update-npm-version.yml index fe840e5d..ff42f8d2 100644 --- a/.github/workflows/update-npm-version.yml +++ b/.github/workflows/update-npm-version.yml @@ -14,10 +14,10 @@ jobs: update-npm: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: token: ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: lts/* - uses: salesforcecli/github-workflows/.github/actions/yarnInstallWithRetries@main