diff --git a/.github/workflows/build-calitp-data-analysis.yml b/.github/workflows/build-calitp-data-analysis.yml index 96d59a7575..6fc64862df 100644 --- a/.github/workflows/build-calitp-data-analysis.yml +++ b/.github/workflows/build-calitp-data-analysis.yml @@ -27,10 +27,10 @@ jobs: - uses: actions/setup-python@v4 with: python-version: '3.9' - - uses: google-github-actions/setup-gcloud@v0 + - uses: 'google-github-actions/auth@v2' with: - service_account_key: ${{ secrets.GCP_SA_KEY }} - export_default_credentials: true + credentials_json: '${{ secrets.GCP_SA_KEY }}' + - uses: google-github-actions/setup-gcloud@v2 - name: Run checks run: | curl -sSL https://install.python-poetry.org | python - diff --git a/.github/workflows/build-calitp-data-infra.yml b/.github/workflows/build-calitp-data-infra.yml index d62994e2b1..e990f5e1b1 100644 --- a/.github/workflows/build-calitp-data-infra.yml +++ b/.github/workflows/build-calitp-data-infra.yml @@ -27,10 +27,10 @@ jobs: - uses: actions/setup-python@v4 with: python-version: '3.9' - - uses: google-github-actions/setup-gcloud@v0 + - uses: 'google-github-actions/auth@v2' with: - export_default_credentials: true - service_account_key: ${{ secrets.GCP_SA_KEY }} + credentials_json: '${{ secrets.GCP_SA_KEY }}' + - uses: google-github-actions/setup-gcloud@v2 - name: Run checks run: | curl -sSL https://install.python-poetry.org | python - diff --git a/.github/workflows/build-warehouse-image.yml b/.github/workflows/build-warehouse-image.yml index 0e4a3df02e..2cc1050592 100644 --- a/.github/workflows/build-warehouse-image.yml +++ b/.github/workflows/build-warehouse-image.yml @@ -39,10 +39,10 @@ jobs: with: python-version: '3.9' - run: curl -sSL https://install.python-poetry.org | python - - - uses: google-github-actions/setup-gcloud@v0 + - uses: 'google-github-actions/auth@v2' with: - export_default_credentials: true - service_account_key: ${{ secrets.GCP_SA_KEY }} + credentials_json: '${{ secrets.GCP_SA_KEY }}' + - uses: google-github-actions/setup-gcloud@v2 - name: Compile dbt project working-directory: warehouse run: | diff --git a/.github/workflows/deploy-airflow.yml b/.github/workflows/deploy-airflow.yml index ef56380d5e..68ae307c9b 100644 --- a/.github/workflows/deploy-airflow.yml +++ b/.github/workflows/deploy-airflow.yml @@ -16,10 +16,11 @@ jobs: with: fetch-depth: 0 - - uses: google-github-actions/setup-gcloud@v0 + - uses: 'google-github-actions/auth@v2' with: - export_default_credentials: true - service_account_key: ${{ secrets.GCP_SA_KEY }} + credentials_json: '${{ secrets.GCP_SA_KEY }}' + + - uses: google-github-actions/setup-gcloud@v2 # Only update requirements if they have changed; Composer throws an error if there are no changes to apply - uses: tj-actions/changed-files@v35 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8641d9501a..610893dc39 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: '3.12.0' + python-version: '3.11.7' - uses: pre-commit/action@v3.0.0 - uses: crate-ci/typos@master with: diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 3ba1895fec..09ae0976b6 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -22,10 +22,10 @@ jobs: with: python-version: 3.9 - run: pip install -r docs/requirements.txt - - uses: google-github-actions/setup-gcloud@v0 + - uses: 'google-github-actions/auth@v2' with: - service_account_key: ${{ secrets.GCP_SA_KEY }} - export_default_credentials: true + credentials_json: '${{ secrets.GCP_SA_KEY }}' + - uses: google-github-actions/setup-gcloud@v2 - name: Build jupyter book run: jb build docs --warningiserror --keep-going # set doc to fail on any sphinx warning diff --git a/.github/workflows/sentry-release.yml b/.github/workflows/sentry-release.yml index 28c97bea32..ae33de8259 100644 --- a/.github/workflows/sentry-release.yml +++ b/.github/workflows/sentry-release.yml @@ -9,10 +9,10 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: google-github-actions/setup-gcloud@v0 + - uses: 'google-github-actions/auth@v2' with: - export_default_credentials: true - service_account_key: ${{ secrets.GCP_SA_KEY }} + credentials_json: '${{ secrets.GCP_SA_KEY }}' + - uses: google-github-actions/setup-gcloud@v2 - uses: 'google-github-actions/get-secretmanager-secrets@v1' id: secrets with: diff --git a/.github/workflows/service-release-channel.yml b/.github/workflows/service-release-channel.yml index 4d50390de7..95c0bd1559 100644 --- a/.github/workflows/service-release-channel.yml +++ b/.github/workflows/service-release-channel.yml @@ -19,10 +19,10 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - uses: google-github-actions/setup-gcloud@v0 + - uses: 'google-github-actions/auth@v2' with: - service_account_key: ${{ secrets.GCP_SA_KEY }} - export_default_credentials: true + credentials_json: '${{ secrets.GCP_SA_KEY }}' + - uses: google-github-actions/setup-gcloud@v2 - name: install auth plugin run: gcloud components install gke-gcloud-auth-plugin - uses: google-github-actions/get-gke-credentials@v1 diff --git a/.github/workflows/service-release-diff.yml b/.github/workflows/service-release-diff.yml index b9dcdd7f1a..63ef31bfb7 100644 --- a/.github/workflows/service-release-diff.yml +++ b/.github/workflows/service-release-diff.yml @@ -26,10 +26,10 @@ jobs: with: fetch-depth: 0 - - uses: google-github-actions/setup-gcloud@v0 + - uses: 'google-github-actions/auth@v2' with: - service_account_key: ${{ secrets.GCP_SA_KEY }} - export_default_credentials: true + credentials_json: '${{ secrets.GCP_SA_KEY }}' + - uses: google-github-actions/setup-gcloud@v2 - run: gcloud components install gke-gcloud-auth-plugin - uses: google-github-actions/get-gke-credentials@v1 with: diff --git a/.github/workflows/terraform-deploy.yml b/.github/workflows/terraform-deploy.yml index 1dabeb3db9..0a76b1c303 100644 --- a/.github/workflows/terraform-deploy.yml +++ b/.github/workflows/terraform-deploy.yml @@ -20,7 +20,7 @@ jobs: fetch-depth: 0 submodules: true - - uses: google-github-actions/setup-gcloud@v0 + - uses: google-github-actions/setup-gcloud@v1 with: service_account_key: ${{ secrets.GCP_SA_KEY }} export_default_credentials: true diff --git a/.github/workflows/terraform-report.yml b/.github/workflows/terraform-report.yml index 3bd87b2cf8..c556bae81d 100644 --- a/.github/workflows/terraform-report.yml +++ b/.github/workflows/terraform-report.yml @@ -20,10 +20,11 @@ jobs: fetch-depth: 0 submodules: true - - uses: google-github-actions/setup-gcloud@v0 + - uses: 'google-github-actions/auth@v2' with: - service_account_key: ${{ secrets.GCP_SA_KEY }} - export_default_credentials: true + credentials_json: '${{ secrets.GCP_SA_KEY }}' + + - uses: google-github-actions/setup-gcloud@v2 - uses: hashicorp/setup-terraform@v2 with: