Merge pull request #11412 from katexochen/rego-v1

genpolicy: fix rules syntax issues, rego v1 compatibility; ci: checks for rego parsing
This commit is contained in:
Dan Mihai
2025-06-13 07:30:34 -07:00
committed by GitHub
6 changed files with 254 additions and 118 deletions

View File

@@ -123,6 +123,13 @@ jobs:
- name: Install system dependencies
run: |
sudo apt-get update && sudo apt-get -y install moreutils hunspell hunspell-en-gb hunspell-en-us pandoc
- name: Install open-policy-agent
run: |
cd "${GOPATH}/src/github.com/${{ github.repository }}"
./tests/install_opa.sh
- name: Install regorus
run: |
"${GOPATH}/src/github.com/${{ github.repository }}/tests/install_regorus.sh"
- name: Run check
run: |
export PATH="${PATH}:${GOPATH}/bin"