github.com/terraform-linters/tflint-ruleset-azurerm@v0.26.0/.github/workflows/generated_code_checks.yml (about)

     1  name: generated-code
     2  
     3  on: pull_request
     4  
     5  jobs:
     6    checks:
     7      runs-on: ubuntu-latest
     8      steps:
     9      - name: Checkout
    10        uses: actions/checkout@v4
    11        with:
    12          submodules: true
    13      - name: Set up Go
    14        uses: actions/setup-go@v5
    15        with:
    16          go-version-file: 'go.mod'
    17      - name: go run ./apispec-rule-gen
    18        working-directory: ./tools
    19        run: go run ./apispec-rule-gen && git diff --exit-code