Skip to content

Commit

Permalink
Create opa.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffchao authored Aug 19, 2023
1 parent e10c9c8 commit 1d49a15
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/opa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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: Run OPA Tests
run: opa test src -v

0 comments on commit 1d49a15

Please sign in to comment.