From 5567ea227b093a0663fcba75cacbb80c9ae517ec Mon Sep 17 00:00:00 2001 From: Mike DeAngelo Date: Wed, 8 May 2024 16:19:55 -0400 Subject: [PATCH] chore: upgrade actions versions to non-deprecated --- .github/workflows/apix-ci.yml | 16 ++++++++-------- .github/workflows/codegen-ci.yml | 16 ++++++++-------- .github/workflows/hackathon-ci.yml | 6 +++--- .github/workflows/lerna-publish.yml | 8 ++++---- .github/workflows/python-publish.yml | 4 ++-- .github/workflows/release-metrics.yml | 4 ++-- .github/workflows/resources-ci.yml | 6 +++--- .github/workflows/tssdk-ci.yml | 6 +++--- 8 files changed, 33 insertions(+), 33 deletions(-) diff --git a/.github/workflows/apix-ci.yml b/.github/workflows/apix-ci.yml index f5f705497..210cd304b 100644 --- a/.github/workflows/apix-ci.yml +++ b/.github/workflows/apix-ci.yml @@ -43,15 +43,15 @@ jobs: steps: - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.11.0 + uses: styfle/cancel-workflow-action@0.12.1 with: access_token: ${{ secrets.GITHUB_TOKEN }} - name: Repo Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Node ${{ matrix.node-version }} - uses: actions/setup-node@v3.6.0 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} @@ -85,10 +85,10 @@ jobs: - name: Upload ts unit test results if: ${{ always() }} - uses: actions/upload-artifact@v3.1.2 + uses: actions/upload-artifact@v4 with: name: apix-test-results - path: results/apix + path: results/apix-${{ matrix.os }}-${{ matrix.node-version }} publish-test-results: needs: [unit] @@ -97,12 +97,12 @@ jobs: steps: - name: Download Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: artifacts - name: Publish Unit Test Results - uses: EnricoMi/publish-unit-test-result-action@v1.12 + uses: EnricoMi/publish-unit-test-result-action@v2 with: # Cosmetic issue with `check_name` being associated to the wrong # workflow: https://github.com/EnricoMi/publish-unit-test-result-action/issues/12 @@ -111,4 +111,4 @@ jobs: report_individual_runs: true hide_comments: orphaned commits check_run_annotations_branch: '*' - files: 'artifacts/apix-test-results/*.xml' + files: 'artifacts/apix-test-results*/*.xml' diff --git a/.github/workflows/codegen-ci.yml b/.github/workflows/codegen-ci.yml index d1d539d01..c53977b45 100644 --- a/.github/workflows/codegen-ci.yml +++ b/.github/workflows/codegen-ci.yml @@ -41,15 +41,15 @@ jobs: steps: - name: Repo Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.11.0 + uses: styfle/cancel-workflow-action@0.12.1 with: access_token: ${{ secrets.GITHUB_TOKEN }} - name: Authenticate to Google Cloud - uses: google-github-actions/auth@v1.0.0 + uses: google-github-actions/auth@v2 with: credentials_json: ${{ secrets.GCP_AR_READER_SA_KEY }} project_id: ${{ secrets.GCP_PROJECT_ID }} @@ -57,7 +57,7 @@ jobs: export_environment_variables: true - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v1.1.0 + uses: google-github-actions/setup-gcloud@v2 - name: Authenticate Artifact Repository run: gcloud auth configure-docker us-west1-docker.pkg.dev --quiet @@ -71,7 +71,7 @@ jobs: docker run --name looker-sdk-codegen-ci -d -p 10000:9999 -p 20000:19999 us-west1-docker.pkg.dev/cloud-looker-sdk-codegen-cicd/looker/${{ fromJson(needs.setup.outputs.matrix_json)[0] }} docker logs -f looker-sdk-codegen-ci --until=30s & - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18.x @@ -121,7 +121,7 @@ jobs: - name: Upload ts unit test results if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: sdk-codegen-test-results path: results/sdk-codegen @@ -133,12 +133,12 @@ jobs: steps: - name: Download Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: artifacts - name: Publish Unit Test Results - uses: EnricoMi/publish-unit-test-result-action@v1.12 + uses: EnricoMi/publish-unit-test-result-action@v2 with: # Cosmetic issue with `check_name` being associated to the wrong # workflow: https://github.com/EnricoMi/publish-unit-test-result-action/issues/12 diff --git a/.github/workflows/hackathon-ci.yml b/.github/workflows/hackathon-ci.yml index 7be1eef1b..d99e420ec 100644 --- a/.github/workflows/hackathon-ci.yml +++ b/.github/workflows/hackathon-ci.yml @@ -37,15 +37,15 @@ jobs: steps: - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.11.0 + uses: styfle/cancel-workflow-action@0.12.1 with: access_token: ${{ secrets.GITHUB_TOKEN }} - name: Repo Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Node ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} diff --git a/.github/workflows/lerna-publish.yml b/.github/workflows/lerna-publish.yml index dcb7b195a..67c9f5a15 100644 --- a/.github/workflows/lerna-publish.yml +++ b/.github/workflows/lerna-publish.yml @@ -29,13 +29,13 @@ jobs: LOOKERSDK_CLIENT_SECRET: ${{ secrets.LOOKERSDK_CLIENT_SECRET }} steps: - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false ref: ${{ github.event.release.tag_name || github.event.inputs.ref }} - name: Authenticate to Google Cloud - uses: google-github-actions/auth@v1.0.0 + uses: google-github-actions/auth@v2 with: credentials_json: ${{ secrets.GCP_AR_READER_SA_KEY }} project_id: ${{ secrets.GCP_PROJECT_ID }} @@ -43,7 +43,7 @@ jobs: export_environment_variables: true - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v1.1.0 + uses: google-github-actions/setup-gcloud@v2 - name: Authenticate Artifact Repository run: gcloud auth configure-docker us-west1-docker.pkg.dev --quiet @@ -54,7 +54,7 @@ jobs: docker run --name looker-sdk-codegen-ci -d -p 10000:9999 -p 20000:19999 us-west1-docker.pkg.dev/cloud-looker-sdk-codegen-cicd/looker/${{ fromJson(needs.setup.outputs.matrix_json)[0] }} docker logs -f looker-sdk-codegen-ci --until=30s & - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18.x registry-url: https://wombat-dressing-room.appspot.com diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index d2d96ef0a..4b76116ed 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -23,11 +23,11 @@ jobs: !github.event.release.prerelease) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.release.tag_name || github.event.inputs.ref }} - - uses: actions/setup-python@v4.5.0 + - uses: actions/setup-python@v5 with: python-version: '3.10' diff --git a/.github/workflows/release-metrics.yml b/.github/workflows/release-metrics.yml index 6ddd2e132..e2743246b 100644 --- a/.github/workflows/release-metrics.yml +++ b/.github/workflows/release-metrics.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Authenticate to Google Cloud - uses: google-github-actions/auth@v1.0.0 + uses: google-github-actions/auth@v2 with: credentials_json: ${{ secrets.GCP_BQ_METRICS_KEY }} project_id: ${{ secrets.GCP_PROJECT_ID }} @@ -15,7 +15,7 @@ jobs: export_environment_variables: true - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v1.1.0 + uses: google-github-actions/setup-gcloud@v2 - run: 'jq -c ''.release | { diff --git a/.github/workflows/resources-ci.yml b/.github/workflows/resources-ci.yml index 37b98f7da..31ff03c46 100644 --- a/.github/workflows/resources-ci.yml +++ b/.github/workflows/resources-ci.yml @@ -28,15 +28,15 @@ jobs: steps: - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.11.0 + uses: styfle/cancel-workflow-action@0.12.1 with: access_token: ${{ secrets.GITHUB_TOKEN }} - name: Repo Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x diff --git a/.github/workflows/tssdk-ci.yml b/.github/workflows/tssdk-ci.yml index b2dd862e1..a8c82a73d 100644 --- a/.github/workflows/tssdk-ci.yml +++ b/.github/workflows/tssdk-ci.yml @@ -132,7 +132,7 @@ jobs: uses: actions/checkout@v4 - name: Authenticate to Google Cloud - uses: google-github-actions/auth@v1.0.0 + uses: google-github-actions/auth@v2 with: credentials_json: ${{ secrets.GCP_AR_READER_SA_KEY }} project_id: ${{ secrets.GCP_PROJECT_ID }} @@ -140,7 +140,7 @@ jobs: export_environment_variables: true - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v1.1.0 + uses: google-github-actions/setup-gcloud@v2 - name: Authenticate Artifact Repository run: gcloud auth configure-docker us-west1-docker.pkg.dev --quiet @@ -190,7 +190,7 @@ jobs: path: artifacts - name: Publish Unit Test Results - uses: EnricoMi/publish-unit-test-result-action@v1.12 + uses: EnricoMi/publish-unit-test-result-action@v2 with: # Cosmetic issue with `check_name` being associated to the wrong # workflow: https://github.com/EnricoMi/publish-unit-test-result-action/issues/12