make sure the schema defines variable in the right place #325
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: Validate Examples | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- README.md | |
- CHANGELOG.md | |
- CONTRIBUTING.md | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
name: Validate examples | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
cache: true | |
- name: Build | |
run: go build -o /tmp/providers/terraform-provider-honeycombio | |
- name: Validate examples | |
env: | |
TF_IN_AUTOMATION: 1 | |
run: | | |
TF_CLI_CONFIG_FILE="$GITHUB_WORKSPACE/.terraformrc.local" ./scripts/validate-examples example |