From fa9de498b584c773c3174d4b579f4b62a1756552 Mon Sep 17 00:00:00 2001 From: Pl217 Date: Wed, 25 Oct 2023 20:24:54 +0200 Subject: [PATCH] Update GitHub actions to versions that use `node20` as default runtime CodeQL Actions are yet to release v3, which will run on `node20` https://github.com/github/codeql-action/issues/1959 --- .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/workflow.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ace9d255a..f3f1861b4 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,9 +39,9 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: '20' diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 74fa0c5b5..62470ee98 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -8,14 +8,14 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 25 steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: '20' - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.HPC_ECR_AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.HPC_ECR_AWS_SECRET_ACCESS_KEY }} @@ -23,7 +23,7 @@ jobs: - name: Login to Public ECR if: ${{ github.actor != 'dependabot[bot]' }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: public.ecr.aws username: ${{ secrets.HPC_ECR_AWS_ACCESS_KEY_ID }}