From f0e9586c3f727bb9397ac8e5a59a5b1c02a7473a Mon Sep 17 00:00:00 2001 From: Zach Wolfenbarger Date: Fri, 26 Apr 2024 14:40:05 -0500 Subject: [PATCH] Update shared action versions for April 2024 --- .github/workflows/build_and_push_image.yaml | 8 ++++---- .github/workflows/db_migration.yaml | 6 +++--- .github/workflows/deploy_app.yaml | 4 ++-- .github/workflows/deploy_static.yaml | 2 +- .github/workflows/npm_build.yaml | 2 +- .github/workflows/run_rspec.yaml | 2 +- .github/workflows/run_task.yaml | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build_and_push_image.yaml b/.github/workflows/build_and_push_image.yaml index 69f6b71..73a9183 100644 --- a/.github/workflows/build_and_push_image.yaml +++ b/.github/workflows/build_and_push_image.yaml @@ -33,19 +33,19 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4.1.1 + uses: actions/checkout@v4 with: repository: zooniverse/${{ inputs.repo_name }} - name: Login to GitHub Container Registry - uses: docker/login-action@v3.0.0 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3.0.0 + uses: docker/setup-buildx-action@v3 - name: Create registry tags id: create_tags @@ -59,7 +59,7 @@ jobs: run: echo ${{ inputs.commit_id }} > commit_id.txt - name: Build and push - uses: docker/build-push-action@v5.1.0 + uses: docker/build-push-action@v5 with: context: . file: ${{ inputs.file }} diff --git a/.github/workflows/db_migration.yaml b/.github/workflows/db_migration.yaml index 35a775f..42cb243 100644 --- a/.github/workflows/db_migration.yaml +++ b/.github/workflows/db_migration.yaml @@ -25,13 +25,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4.1.1 + uses: actions/checkout@v4 - - uses: azure/login@v1 + - uses: azure/login@v2 with: creds: ${{ secrets.creds }} - - uses: azure/aks-set-context@v3 + - uses: azure/aks-set-context@v4 with: resource-group: kubernetes cluster-name: microservices diff --git a/.github/workflows/deploy_app.yaml b/.github/workflows/deploy_app.yaml index 846948e..b9ccfda 100644 --- a/.github/workflows/deploy_app.yaml +++ b/.github/workflows/deploy_app.yaml @@ -35,7 +35,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4.1.1 + uses: actions/checkout@v4 - name: Login to GitHub Container Registry uses: docker/login-action@v3.0.0 @@ -48,7 +48,7 @@ jobs: with: creds: ${{ secrets.creds }} - - uses: azure/aks-set-context@v3 + - uses: azure/aks-set-context@v4 with: resource-group: kubernetes cluster-name: microservices diff --git a/.github/workflows/deploy_static.yaml b/.github/workflows/deploy_static.yaml index 38a2748..7f46b48 100644 --- a/.github/workflows/deploy_static.yaml +++ b/.github/workflows/deploy_static.yaml @@ -36,7 +36,7 @@ jobs: - name: Upload to blob storage id: upload - uses: azure/CLI@v1 + uses: azure/CLI@v2 with: azcliversion: 2.33.1 inlineScript: | diff --git a/.github/workflows/npm_build.yaml b/.github/workflows/npm_build.yaml index 31d1f44..212bee3 100644 --- a/.github/workflows/npm_build.yaml +++ b/.github/workflows/npm_build.yaml @@ -28,7 +28,7 @@ jobs: env: HEAD_COMMIT: ${{ inputs.commit_id }} steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4 - name: Node.js build id: build diff --git a/.github/workflows/run_rspec.yaml b/.github/workflows/run_rspec.yaml index 10e704b..4a6bb25 100644 --- a/.github/workflows/run_rspec.yaml +++ b/.github/workflows/run_rspec.yaml @@ -41,7 +41,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4.1.1 + uses: actions/checkout@v4 - name: Check for focused specs run: ./scripts/no_focus.sh diff --git a/.github/workflows/run_task.yaml b/.github/workflows/run_task.yaml index cf532ac..d347c8b 100644 --- a/.github/workflows/run_task.yaml +++ b/.github/workflows/run_task.yaml @@ -24,13 +24,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4.1.1 + uses: actions/checkout@v4 - uses: azure/login@v2 with: creds: ${{ secrets.creds }} - - uses: azure/aks-set-context@v3 + - uses: azure/aks-set-context@v4 with: resource-group: kubernetes cluster-name: microservices