github.com/terraform-linters/tflint-ruleset-azurerm@v0.26.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 tests 28 run: make test 29 - name: Run build 30 run: make build 31 - name: Upload Artifact 32 uses: actions/upload-artifact@master 33 with: 34 name: tflint-ruleset-azurerm-${{ matrix.os }} 35 path: tflint-ruleset-azurerm