Feat: add Review insights to harness get pr + standalone list commands #387
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| ci: | |
| name: Build, Test & Validate Specs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-go@v7 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - name: Install Task | |
| uses: arduino/setup-task@v3 | |
| with: | |
| version: 3.x | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v9 | |
| with: | |
| version: latest | |
| install-mode: goinstall | |
| only-new-issues: true | |
| - name: Unit tests | |
| run: go test ./... -race -count=1 | |
| - name: Build | |
| run: task build | |
| - name: Validate specs | |
| run: task check:specs |