From ad22cd315c69338a3004703b892d0e5a381e5e7e Mon Sep 17 00:00:00 2001 From: Thomas Kappler Date: Wed, 21 Feb 2024 19:12:33 +0100 Subject: [PATCH] Modernize GHA action versions --- .github/workflows/command-dispatch.yml | 2 +- .github/workflows/main.yml | 20 ++++++++++---------- .github/workflows/pull-request.yml | 2 +- .github/workflows/release.yml | 20 ++++++++++---------- .github/workflows/run-acceptance-tests.yml | 18 +++++++++--------- 5 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/command-dispatch.yml b/.github/workflows/command-dispatch.yml index c0b677b7..4b7b5770 100644 --- a/.github/workflows/command-dispatch.yml +++ b/.github/workflows/command-dispatch.yml @@ -8,7 +8,7 @@ jobs: if: ${{ github.event.issue.pull_request }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run Build uses: peter-evans/slash-command-dispatch@v2 with: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8c973ae0..a5fd026b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,13 +12,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 18.17.x + node-version: 18.19.x registry-url: https://registry.npmjs.org - name: Install Yarn run: curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.13.0 @@ -32,13 +32,13 @@ jobs: concurrency: build-and-test # Currently integration tests can clash across branches. steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.2.0 + uses: jaxxstorm/action-install-gh-release@v1.11.0 with: repo: pulumi/pulumictl - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-region: ${{ env.AWS_REGION }} @@ -49,14 +49,14 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 18.17.x + node-version: 18.19.x registry-url: https://registry.npmjs.org - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: 1.20.x + go-version: 1.22.x - name: Install Yarn run: curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.13.0 - name: Install packages diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 29f5a003..8a1c03d6 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -11,7 +11,7 @@ jobs: if: github.event.pull_request.head.repo.full_name != github.repository runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Comment PR uses: thollander/actions-comment-pull-request@main with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 665b6cc5..3fbe0dd4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,13 +12,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 18.17.x + node-version: 18.19.x registry-url: https://registry.npmjs.org - name: Install Yarn run: curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.13.0 @@ -32,13 +32,13 @@ jobs: concurrency: build-and-test # Currently integration tests can clash across branches. steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.2.0 + uses: jaxxstorm/action-install-gh-release@v1.11.0 with: repo: pulumi/pulumictl - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-region: ${{ env.AWS_REGION }} @@ -49,14 +49,14 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 18.17.x + node-version: 18.19.x registry-url: https://registry.npmjs.org - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: 1.20.x + go-version: 1.22.x - name: Install Yarn run: curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.13.0 - name: Install packages diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index d4f6e6a7..78f0f661 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -28,13 +28,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 18.17.x + node-version: 18.19.x registry-url: https://registry.npmjs.org - name: Install Yarn run: curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.13.0 @@ -48,9 +48,9 @@ jobs: concurrency: build-and-test # Currently integration tests can clash across branches. steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-region: ${{ env.AWS_REGION }} @@ -61,14 +61,14 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 18.17.x + node-version: 18.19.x registry-url: https://registry.npmjs.org - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: 1.20.x + go-version: 1.22.x - name: Install Yarn run: curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.13.0 - name: Install packages