[exmaples/privatelink] make sure we preserve client ip in tg and we a… #234
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: CI | |
on: [pull_request] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2.0.0 | |
- uses: hashicorp/setup-terraform@v2 | |
- name: validate fmt | |
run: terraform fmt -check -recursive | |
- name: setup local bin dir | |
run: | | |
mkdir -p $GITHUB_WORKSPACE/bin | |
echo "::add-path::$GITHUB_WORKSPACE/bin" | |
env: | |
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' | |
- name: install terraform-docs | |
run: | | |
curl -Lo /tmp/terraform-docs.tar.gz https://github.com/terraform-docs/terraform-docs/releases/download/v0.16.0/terraform-docs-v0.16.0-$(uname)-amd64.tar.gz | |
tar -xzf /tmp/terraform-docs.tar.gz --directory /tmp | |
chmod +x /tmp/terraform-docs | |
mv /tmp/terraform-docs $GITHUB_WORKSPACE/bin/ | |
- name: validate readme | |
run: | | |
make validate-doc |