Skip to content

chore(deps): bump golang.org/x/net from 0.8.0 to 0.17.0 in /test #373

chore(deps): bump golang.org/x/net from 0.8.0 to 0.17.0 in /test

chore(deps): bump golang.org/x/net from 0.8.0 to 0.17.0 in /test #373

Workflow file for this run

name: terratest
permissions:
contents: write
pull-requests: write
on:
pull_request:
branches:
- main
push:
branches:
- main
env:
COMPUTE_GOOGLE_CREDENTIALS: ${{ secrets.TERRATEST_GOOGLE_CREDENTIALS_COMPUTE }}
COMPUTE_GOOGLE_PROJECT: ${{ secrets.TERRATEST_GOOGLE_PROJECT_COMPUTE }}
TF_VAR_google_credentials: ${{ secrets.TERRATEST_GOOGLE_CREDENTIALS_COMPUTE }}
TF_VAR_shared_vpc_host_google_credentials: ${{ secrets.TERRATEST_GOOGLE_CREDENTIALS_NETWORK }}
jobs:
terratest:
name: terratest
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
submodules: true
- name: Set up Go (1.19)
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: gcloud-auth
uses: google-github-actions/auth@v0
with:
credentials_json: ${{ env.COMPUTE_GOOGLE_CREDENTIALS }}
- name: gcloud-setup
uses: google-github-actions/setup-gcloud@v0
with:
version: "latest" # This is the default value, just being explicit
project_id: ${{ env.COMPUTE_GOOGLE_PROJECT }}
install_components: 'gke-gcloud-auth-plugin'
export_default_credentials: false
- name: Run terratest
run: |
cd test
go test -v -timeout 120m
- name: Release
if: github.event_name == 'push'
uses: cycjimmy/semantic-release-action@v3
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
extra_plugins: |
@semantic-release/[email protected]
@semantic-release/[email protected]
@semantic-release/[email protected]