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

     1  name: lint
     2  
     3  on:
     4    push:
     5      branches:
     6        - master
     7    pull_request:
     8      branches:
     9        - master
    10  
    11  jobs:
    12    checks:
    13      runs-on: ubuntu-latest
    14      steps:
    15      - name: Checkout
    16        uses: actions/checkout@v4
    17      - name: Set up Go
    18        uses: actions/setup-go@v5
    19        with:
    20          go-version-file: 'go.mod'
    21      - name: Run linters
    22        run: |
    23          export PATH=$PATH:$(go env GOPATH)/bin
    24          make tools lint