Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade actions versions to non-deprecated #1467

Merged
merged 1 commit into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/apix-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down Expand Up @@ -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]
Expand All @@ -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
Expand All @@ -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'
16 changes: 8 additions & 8 deletions .github/workflows/codegen-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,23 @@ 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 }}
create_credentials_file: true
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
Expand All @@ -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
drstrangelooker marked this conversation as resolved.
Show resolved Hide resolved

Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/hackathon-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lerna-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@ 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 }}
create_credentials_file: true
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
Expand All @@ -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
drstrangelooker marked this conversation as resolved.
Show resolved Hide resolved
drstrangelooker marked this conversation as resolved.
Show resolved Hide resolved
registry-url: https://wombat-dressing-room.appspot.com
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ 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 }}
create_credentials_file: true
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 |
{
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/resources-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
drstrangelooker marked this conversation as resolved.
Show resolved Hide resolved

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tssdk-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,15 @@ 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 }}
create_credentials_file: true
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
Expand Down Expand Up @@ -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
Expand Down
Loading