From 094e41447b6370e2fc445ee62a62c70c52ea6031 Mon Sep 17 00:00:00 2001 From: William Calderipe Date: Wed, 20 Mar 2024 16:44:21 +0100 Subject: [PATCH] Install OPA CLI in the engine main pipeline --- .github/workflows/policy-engine.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/policy-engine.yml b/.github/workflows/policy-engine.yml index 9b65386f5..40865ca36 100644 --- a/.github/workflows/policy-engine.yml +++ b/.github/workflows/policy-engine.yml @@ -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 @@ -103,5 +108,5 @@ jobs: with: version: latest - - name: Run OPA Tests + - name: Test rego run: make policy-engine/rego/test