From 2a29f4629c9c1aaabbe93de027d5de70feb2020c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 18:57:14 +0000 Subject: [PATCH] Update github-actions - all dependencies --- .github/workflows/release.yml | 36 +++++++++++++++++------------------ .github/workflows/tests.yml | 30 ++++++++++++++--------------- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cfca50e..ebfbbcf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: org_name: ${{ steps.repo_ids.outputs.ORG_NAME }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Check token @@ -34,14 +34,14 @@ jobs: runs-on: ubuntu-latest needs: [preconditions] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18.x - name: Use npm latest run: npm install -g npm@latest - name: Cache Node.js modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} @@ -61,14 +61,14 @@ jobs: runs-on: ubuntu-latest needs: [preconditions] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18.x - name: Use npm latest run: npm install -g npm@latest - name: Cache Node.js modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} @@ -92,14 +92,14 @@ jobs: name: Run dependency check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18.x - name: Use npm latest run: npm install -g npm@latest - name: Cache Node.js modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} @@ -121,7 +121,7 @@ jobs: is_prerelease: ${{ steps.get_version.outputs.IS_PRERELEASE }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Check version id: get_version uses: digicatapult/check-version@v1 @@ -140,31 +140,31 @@ jobs: if: ${{ needs.check-version.outputs.is_new_version == 'true' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Docker build - name: Setup QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: all - name: Setup Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 with: buildkitd-flags: '--debug' - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: $GITHUB_ACTOR password: ${{ secrets.GITHUB_TOKEN }} - name: Login to Dockerhub Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DSCP_DOCKERHUB_USERNAME }} password: ${{ secrets.DSCP_DOCKERHUB_TOKEN }} - name: Publish multi-arch image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: push: true builder: ${{ steps.buildx.outputs.name }} @@ -195,7 +195,7 @@ jobs: name: ${{ needs.check-version.outputs.version }} generate_release_notes: true - name: Delete release latest - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1124b16..b372488 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: org_name: ${{ steps.repo_ids.outputs.ORG_NAME }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Get repository identifiers @@ -27,14 +27,14 @@ jobs: name: Run lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18.x - name: Use npm latest run: npm install -g npm@latest - name: Cache Node.js modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} @@ -53,14 +53,14 @@ jobs: name: Run tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18.x - name: Use npm latest run: npm install -g npm@latest - name: Cache Node.js modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} @@ -84,14 +84,14 @@ jobs: name: Run dependency check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18.x - name: Use npm latest run: npm install -g npm@latest - name: Cache Node.js modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} @@ -109,7 +109,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Check version id: get_version uses: digicatapult/check-version@v1 @@ -126,20 +126,20 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Docker build - name: Setup QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: all - name: Setup Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 with: buildkitd-flags: '--debug' - name: Publish multi-arch image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: push: false builder: ${{ steps.buildx.outputs.name }}