Update bitnami/kubectl:1.31 Docker digest to 64614ef (#293) #588
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: Test the rego | |
on: [push] | |
jobs: | |
test-rego: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Get OPA | |
run: | | |
wget --quiet -O /tmp/opa https://github.com/open-policy-agent/opa/releases/download/v0.28.0/opa_linux_amd64 | |
chmod +x /tmp/opa | |
- name: Test | |
run: /tmp/opa test *.rego -v --explain full | |
- name: Coverage | |
run: /tmp/opa test --coverage --format=json *.rego |