Skip to content

[exmaples/privatelink] make sure we preserve client ip in tg and we a… #234

[exmaples/privatelink] make sure we preserve client ip in tg and we a…

[exmaples/privatelink] make sure we preserve client ip in tg and we a… #234

Workflow file for this run

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