chore: Update demo-rest to use the new Cerbos Go SDK #30
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: PR Check | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
cerbosCheck: | |
name: Check Cerbos policies | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Cerbos | |
uses: cerbos/cerbos-setup-action@v1 | |
- name: Compile policies | |
uses: cerbos/cerbos-compile-action@v1 | |
with: | |
policyDir: cerbos/policies |