fix: don't snyk-monitor on build #1812
Workflow file for this run
This file contains 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: test | |
on: [pull_request, push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Test with Go ${{ matrix.go }} | |
strategy: | |
matrix: | |
go: ["1.18", "1.19", "1.20"] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go }} | |
- run: go install github.com/open-policy-agent/[email protected] | |
- run: go test ./... | |
- run: opa test rego |