fix: fix use-rego-v1
rule violation
#21
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: Run OPA Tests | |
on: [push, workflow_dispatch] | |
jobs: | |
Run-OPA-Tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Setup OPA | |
uses: open-policy-agent/setup-opa@v2 | |
with: | |
version: latest | |
- name: Setup Regal | |
uses: StyraInc/[email protected] | |
with: | |
version: latest | |
- name: Run OPA Tests | |
run: opa test src -v | |
- name: Lint OPA Policies | |
run: regal lint --format github ./src |