Create restricted_nets.rego #56
Workflow file for this run
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: OPA Policy Tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run OPA Tests | |
| run: make test | |
| - name: Check Formatting | |
| run: make fmt-check | |
| - name: Validate Policies | |
| run: make check | |
| - name: Generate Coverage Report | |
| run: make test-coverage |