Skip to content

Commit

Permalink
Install OPA CLI in the engine main pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
wcalderipe committed Mar 20, 2024
1 parent 1df3d30 commit 094e414
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/policy-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ jobs:
with:
node-version: '20.4.0'

- name: Install Open Policy Agent CLI
uses: open-policy-agent/setup-opa@v2
with:
version: latest

- name: Install dependencies
run: |
make install/ci
Expand Down Expand Up @@ -103,5 +108,5 @@ jobs:
with:
version: latest

- name: Run OPA Tests
- name: Test rego
run: make policy-engine/rego/test

0 comments on commit 094e414

Please sign in to comment.