* Result of tsccr-helper -pin-all-workflows . * chore: Disable cache from setup-go --------- Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com> Co-authored-by: Michael Li <michael.li@hashicorp.com>
31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
---
|
|
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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
|
|
- uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # 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
|