From 5f65bb0201a8d88653c00e3c990807d10ef30b31 Mon Sep 17 00:00:00 2001 From: Pl217 Date: Wed, 25 Oct 2023 22:06:57 +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/ci.yml | 4 ++-- .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/workflow.yml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a62f9a46..a54adfd0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,8 +11,8 @@ jobs: timeout-minutes: 25 steps: - name: Checkout repository - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: '20' - name: Install packages diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ea284c8f..0a0523aa 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -35,9 +35,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 74fa0c5b..981913a7 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -8,9 +8,9 @@ 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' @@ -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 }}