test(hcp): Define TF module for long-lived resources #589
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: enos_fmt | |
on: | |
pull_request: | |
paths: | |
- enos/** | |
permissions: | |
contents: read | |
jobs: | |
fmt_check: | |
# Only run this workflow on pull requests from hashicorp/boundary branches | |
# as we need secrets to install enos. | |
if: github.event.pull_request.head.repo.fork != 'true' | |
runs-on: ${{ fromJSON(vars.RUNNER) }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.SERVICE_USER_GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: hashicorp/setup-terraform@a1502cd9e758c50496cc9ac5308c4843bcd56d36 # TSCCR: loading action configs: failed to query HEAD reference: failed to get advertised references: authorization failed | |
with: | |
terraform_wrapper: false | |
- uses: hashicorp/action-setup-enos@v1 # TSCCR: loading action configs: failed to query HEAD reference: failed to get advertised references: authorization failed | |
with: | |
github-token: ${{ secrets.SERVICE_USER_GITHUB_TOKEN }} | |
- name: "check formatting" | |
working-directory: ./enos | |
run: make check-fmt |