Chore/rego ci test (#43) #3
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: '@app/authz OPA CI' | |
on: | |
push: | |
paths: | |
- apps/authz/src/opa/rego/** | |
- .github/workflows/authz_opa_ci.yml | |
jobs: | |
opa-rego: | |
name: Open Agent Policy CI | |
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: Run OPA Tests | |
run: make authz/rego/test |