PWX-36873: Add vault cooldowns #94
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Google KMS integration test | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
run-integrationtest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
# Setup gcloud CLI | |
- name: Authenticate to Google Cloud | |
uses: google-github-actions/[email protected] | |
with: | |
credentials_json: ${{ secrets.GOOGLE_CREDENTIALS }} | |
- name: setup golang | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.19 | |
- name: run gcloud kms integration test | |
run: | | |
export GOOGLE_KMS_RESOURCE_ID=${{secrets.GOOGLE_KMS_RESOURCE_ID}} | |
go test -v gcloud/gcloud_kms_integration_test.go gcloud/gcloud_kms.go |