Skip to content

refactor(checks): migrate from Go to Rego #256

refactor(checks): migrate from Go to Rego

refactor(checks): migrate from Go to Rego #256

Workflow file for this run

name: test rego bundle
on:
pull_request:
merge_group:
env:
GO_VERSION: "1.21"
jobs:
opa-tests:
name: OPA tests
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build bundle
run: make bundle
- name: Setup OPA
uses: ./.github/actions/setup-opa
- name: Check bundle
run: opa inspect bundle.tar.gz