Skip to content

Commit

Permalink
move setup python step
Browse files Browse the repository at this point in the history
  • Loading branch information
shubha-rajan committed Dec 12, 2022
1 parent be7ab22 commit 03cb6ee
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/sample-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,18 +130,20 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
repository: ${{ github.event.pull_request.head.repo.full_name }}

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'


- name: 'Authenticate to Google Cloud'
id: 'auth'
uses: 'google-github-actions/[email protected]'
with:
workload_identity_provider: ${{ secrets.PROVIDER_NAME }}
service_account: ${{ secrets.SERVICE_ACCOUNT }}


- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'

- name: 'Set up Cloud SDK'
uses: 'google-github-actions/[email protected]'
- name: Get Secrets
Expand Down

0 comments on commit 03cb6ee

Please sign in to comment.