From 6d0e5782062b196073350bccfc1f3488d0063eab Mon Sep 17 00:00:00 2001 From: Peter Johanson Date: Mon, 29 Jan 2024 03:10:38 -0800 Subject: [PATCH] chore: Bump a lot of GHA deps. --- .github/workflows/containers.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index 5170493d..5e2cf346 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -41,7 +41,7 @@ jobs: - name: Install yaml2json run: python3 -m pip install remarshal - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Import from architectures.yml id: import run: echo "json=$(yaml2json architectures.yml | jq -c .)" >> $GITHUB_OUTPUT @@ -94,14 +94,14 @@ jobs: - name: Login to Docker Hub id: docker-hub-login if: ${{ env.docker-hub-credentials == 'true' }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_TOKEN }} - name: Login to GitHub Container Registry id: ghcr-login if: ${{ env.ghcr-credentials == 'true' }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ secrets.GHCR_USERNAME }} @@ -127,7 +127,7 @@ jobs: echo "major-minor-branch-upstream=docker.io/${NSU}/${REPOSITORY}:${MAJOR_MINOR_BRANCH}" >> $GITHUB_OUTPUT - name: Set up cache id: cache - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: dev-generic with: @@ -136,11 +136,11 @@ jobs: restore-keys: | ${{ runner.os }}/${{ env.cache-name }}/${{ github.run_id }} - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build to local cache - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: target: dev-generic platforms: linux/amd64,linux/arm64 @@ -157,7 +157,7 @@ jobs: cache-to: type=local,dest=${{ steps.paths.outputs.local-new }},mode=max - name: Push to registry cache if: ${{ env.docker-hub-credentials == 'true' }} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: target: dev-generic platforms: linux/amd64,linux/arm64 @@ -201,14 +201,14 @@ jobs: - name: Login to Docker Hub id: docker-hub-login if: ${{ env.docker-hub-credentials == 'true' }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_TOKEN }} - name: Login to GitHub Container Registry id: ghcr-login if: ${{ env.ghcr-credentials == 'true' }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ secrets.GHCR_USERNAME }} @@ -278,7 +278,7 @@ jobs: echo "${delimiter}" >> $GITHUB_OUTPUT - name: Set up dev-generic cache id: dev-generic-cache - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: dev-generic with: @@ -332,12 +332,12 @@ jobs: cache-to: type=inline load: true - name: Checkout ZMK - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ env.zmk-repository }} ref: ${{ env.zmk-ref }} - name: Cache Zephyr modules - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: zephyr-modules with: @@ -595,7 +595,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Tag env: TAG: ${{ needs.tags.outputs.major-minor }} @@ -667,7 +667,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ needs.stable-release-trigger.outputs.stable-tag }} - name: Tag