feat: upgrade to opa v1.4.2 [IAC-3311] (#320) #2191
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: test | |
on: [pull_request, push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Test with Go ${{ matrix.go }} | |
strategy: | |
matrix: | |
go: ["1.23", "1.24"] | |
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 |