feat: add ress/data cloudavenue_vdcg_network_isolated #401
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
# Terraform Provider testing workflow. | |
name: generate | |
# This GitHub action runs your tests for each pull request and push. | |
# Optionally, you can turn it on using a schedule for regular testing. | |
on: | |
pull_request: | |
paths: | |
- 'templates/**' | |
- 'examples/**' | |
- 'internal/tests/**' | |
- '**.go' | |
jobs: | |
generate: | |
name: Generate | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 # v3.5.0 | |
- uses: actions/setup-go@v5 # v4.0.0 | |
with: | |
go-version-file: 'go.mod' | |
- run: make generate | |
- name: git diff | |
run: | | |
git diff --compact-summary --exit-code || \ | |
(echo; echo "Unexpected difference in directories after code generation. Run 'go generate ./...' command and commit."; exit 1) |