From 20824178355190d356a458ddbb24d456f98d13fa Mon Sep 17 00:00:00 2001 From: Connor Ward Date: Tue, 5 Nov 2024 07:58:40 +0000 Subject: [PATCH] Fix action versions for workflow files (#3852) Linting was failing. --- .github/workflows/docker_reuse.yml | 6 +++--- .github/workflows/lint.yml | 2 +- .github/workflows/zenodo-canary.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker_reuse.yml b/.github/workflows/docker_reuse.yml index d2cca11362..59e61e8b9a 100644 --- a/.github/workflows/docker_reuse.yml +++ b/.github/workflows/docker_reuse.yml @@ -31,15 +31,15 @@ jobs: - name: Check out the repo uses: actions/checkout@v4 - name: Log in to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build and push ${{ inputs.target }} - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v6 with: push: true no-cache: true diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 50df67f3d3..c594b6eb3d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 - name: Setup flake8 annotations diff --git a/.github/workflows/zenodo-canary.yml b/.github/workflows/zenodo-canary.yml index 51b8c5a478..02005590bd 100644 --- a/.github/workflows/zenodo-canary.yml +++ b/.github/workflows/zenodo-canary.yml @@ -17,7 +17,7 @@ jobs: with: fetch-depth: 1 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.12 - name: Install deps