From 81abefa9aea1b21472ecf9452c1097647e2ec838 Mon Sep 17 00:00:00 2001 From: andrea rota Date: Mon, 19 Feb 2024 11:52:59 +0000 Subject: [PATCH] update GH Actions dependencies for which a version that uses Node v20 is available Exceptions so far: Azure and (most of) GitHub's own actions, which haven't released versions that use Node v20 yet. --- .github/workflows/codeql.yml | 8 ++-- .github/workflows/dependency-review.yml | 4 +- .github/workflows/deploy-to-kubernetes.yml | 2 +- .github/workflows/e2e-client.yml | 2 +- .../publish-marxan-docker-images.yml | 6 +-- .../publish-webshot-docker-images.yml | 2 +- .github/workflows/tests-api-e2e.yml | 2 +- .github/workflows/tests-api-unit.yml | 2 +- .../tests-backend-build-oci-images.yml | 48 +++++++++---------- .github/workflows/tests-geoprocessing-e2e.yml | 2 +- .../workflows/tests-geoprocessing-unit.yml | 2 +- .github/workflows/webshot-build.yml | 2 +- 12 files changed, 41 insertions(+), 41 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index df30f12055..8d3b3aebeb 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -39,11 +39,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -55,7 +55,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # ℹī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -68,6 +68,6 @@ jobs: # ./location_of_script_within_repo/buildscript.sh - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 88dca28957..d9368b38bd 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -17,6 +17,6 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Checkout Repository' - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 'Dependency Review' - uses: actions/dependency-review-action@v2 + uses: actions/dependency-review-action@v4 diff --git a/.github/workflows/deploy-to-kubernetes.yml b/.github/workflows/deploy-to-kubernetes.yml index a7d11858ab..e4beb64376 100644 --- a/.github/workflows/deploy-to-kubernetes.yml +++ b/.github/workflows/deploy-to-kubernetes.yml @@ -59,7 +59,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Login via Azure CLI uses: azure/login@v1 diff --git a/.github/workflows/e2e-client.yml b/.github/workflows/e2e-client.yml index b2fe1c5606..f0b0bde8b9 100644 --- a/.github/workflows/e2e-client.yml +++ b/.github/workflows/e2e-client.yml @@ -17,7 +17,7 @@ jobs: working-directory: app steps: - name: checkout pull - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Node setup uses: actions/setup-node@v3 diff --git a/.github/workflows/publish-marxan-docker-images.yml b/.github/workflows/publish-marxan-docker-images.yml index f10da67029..2d7fdcc52e 100644 --- a/.github/workflows/publish-marxan-docker-images.yml +++ b/.github/workflows/publish-marxan-docker-images.yml @@ -55,7 +55,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 'Login via Azure CLI' uses: azure/login@v1 @@ -83,7 +83,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Login via Azure CLI uses: azure/login@v1 @@ -112,7 +112,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Login via Azure CLI uses: azure/login@v1 diff --git a/.github/workflows/publish-webshot-docker-images.yml b/.github/workflows/publish-webshot-docker-images.yml index 929a2e6689..e1be3a1a3b 100644 --- a/.github/workflows/publish-webshot-docker-images.yml +++ b/.github/workflows/publish-webshot-docker-images.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Login via Azure CLI uses: azure/login@v1 diff --git a/.github/workflows/tests-api-e2e.yml b/.github/workflows/tests-api-e2e.yml index 5f70fd1c1b..5733e9210c 100644 --- a/.github/workflows/tests-api-e2e.yml +++ b/.github/workflows/tests-api-e2e.yml @@ -57,6 +57,6 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run CI tests via make task run: TEST_SUITE_PATH="${{ matrix.test-suite }}" make test-e2e-api environment=ci diff --git a/.github/workflows/tests-api-unit.yml b/.github/workflows/tests-api-unit.yml index 9d13e032b1..ddbe25161b 100644 --- a/.github/workflows/tests-api-unit.yml +++ b/.github/workflows/tests-api-unit.yml @@ -15,6 +15,6 @@ jobs: timeout-minutes: 10 steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run API unit Tests run: make test-unit-api diff --git a/.github/workflows/tests-backend-build-oci-images.yml b/.github/workflows/tests-backend-build-oci-images.yml index 08852a3997..1e84500424 100644 --- a/.github/workflows/tests-backend-build-oci-images.yml +++ b/.github/workflows/tests-backend-build-oci-images.yml @@ -45,17 +45,17 @@ jobs: REPOSITORY: marxan-api steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Login to container registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Prepare ids shell: bash @@ -66,7 +66,7 @@ jobs: id: extract_branch - name: Build and push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 env: IMAGE_TAG: ${{ steps.extract_branch.outputs.shortsha }} REGISTRY_NAMESPACE: ${{ steps.extract_branch.outputs.registry_namespace }} @@ -84,17 +84,17 @@ jobs: REPOSITORY: marxan-geoprocessing steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Login to container registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Prepare ids shell: bash @@ -105,7 +105,7 @@ jobs: id: extract_branch - name: Build and push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 env: IMAGE_TAG: ${{ steps.extract_branch.outputs.shortsha }} REGISTRY_NAMESPACE: ${{ steps.extract_branch.outputs.registry_namespace }} @@ -123,17 +123,17 @@ jobs: REPOSITORY: marxan-postgresql-api steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Login to container registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Prepare ids shell: bash @@ -144,7 +144,7 @@ jobs: id: extract_branch - name: Build and push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 env: IMAGE_TAG: ${{ steps.extract_branch.outputs.shortsha }} REGISTRY_NAMESPACE: ${{ steps.extract_branch.outputs.registry_namespace }} @@ -162,17 +162,17 @@ jobs: REPOSITORY: marxan-postgresql-geo-api steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Login to container registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Prepare ids shell: bash @@ -183,7 +183,7 @@ jobs: id: extract_branch - name: Build and push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 env: IMAGE_TAG: ${{ steps.extract_branch.outputs.shortsha }} REGISTRY_NAMESPACE: ${{ steps.extract_branch.outputs.registry_namespace }} @@ -201,17 +201,17 @@ jobs: REPOSITORY: marxan-redis steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Login to container registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Prepare ids shell: bash @@ -222,7 +222,7 @@ jobs: id: extract_branch - name: Build and push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 env: IMAGE_TAG: ${{ steps.extract_branch.outputs.shortsha }} REGISTRY_NAMESPACE: ${{ steps.extract_branch.outputs.registry_namespace }} @@ -239,17 +239,17 @@ jobs: REPOSITORY: marxan-webshot steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Login to container registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Prepare ids shell: bash @@ -260,7 +260,7 @@ jobs: id: extract_branch - name: Build and push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 env: IMAGE_TAG: ${{ steps.extract_branch.outputs.shortsha }} REGISTRY_NAMESPACE: ${{ steps.extract_branch.outputs.registry_namespace }} diff --git a/.github/workflows/tests-geoprocessing-e2e.yml b/.github/workflows/tests-geoprocessing-e2e.yml index d5412088e7..2c9cff0edf 100644 --- a/.github/workflows/tests-geoprocessing-e2e.yml +++ b/.github/workflows/tests-geoprocessing-e2e.yml @@ -32,6 +32,6 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run CI tests via make task run: TEST_SUITE_PATH="${{ matrix.test-suite }}" make test-e2e-geoprocessing environment=ci diff --git a/.github/workflows/tests-geoprocessing-unit.yml b/.github/workflows/tests-geoprocessing-unit.yml index ee6d1a132d..dce145f0c9 100644 --- a/.github/workflows/tests-geoprocessing-unit.yml +++ b/.github/workflows/tests-geoprocessing-unit.yml @@ -15,6 +15,6 @@ jobs: timeout-minutes: 10 steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run Geoprocessing Unit Tests run: make test-unit-geo diff --git a/.github/workflows/webshot-build.yml b/.github/workflows/webshot-build.yml index 028dd91dca..d5fc48447a 100644 --- a/.github/workflows/webshot-build.yml +++ b/.github/workflows/webshot-build.yml @@ -11,7 +11,7 @@ jobs: timeout-minutes: 10 steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build webshot service run: docker compose -f docker-compose-build-webshot.yml build webshot