github.com/terraform-linters/tflint-plugin-sdk@v0.22.0/.github/workflows/build.yml (about)

     1  name: build
     2  
     3  on:
     4    push:
     5      branches:
     6        - master
     7    pull_request:
     8      branches:
     9        - master
    10    schedule:
    11      - cron: "0 0 * * *"
    12  
    13  jobs:
    14    test:
    15      name: ${{ matrix.os }}
    16      runs-on: ${{ matrix.os }}
    17      strategy:
    18        matrix:
    19          os: [ubuntu-latest, windows-latest]
    20      steps:
    21      - name: Checkout
    22        uses: actions/checkout@v4
    23      - name: Set up Go
    24        uses: actions/setup-go@v5
    25        with:
    26          go-version-file: 'go.mod'
    27      - name: Run test
    28        run: go test ./...