We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c98e90 commit e281c13Copy full SHA for e281c13
1 file changed
.github/workflows/test.yml
@@ -31,6 +31,11 @@ jobs:
31
steps:
32
- name: Checkout repository
33
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
34
+ - id: 'auth'
35
+ uses: 'google-github-actions/auth@v2'
36
+ with:
37
+ # Use Workload Identity Federation (preferred) or a Service Account Key
38
+ credentials_json: '${{ secrets.GCP_SA_KEY }}'
39
- name: Coverage result name
40
id: name
41
run: |
@@ -59,7 +64,7 @@ jobs:
59
64
GIT_REPOSITORY_NAME: cluster-stacks
60
65
GO111MODULE: "on"
61
66
GIT_ACCESS_TOKEN: ${{ secrets.GIT_ACCESS_TOKEN }}
62
- run: make test-unit
67
+ run: make test-unit GOOGLE_APPLICATION_CREDENTIALS=${{ steps.auth.outputs.credentials_file_path }}
63
68
69
- name: Running integration tests workloadcluster
70
env:
0 commit comments