Skip to content

Tm/tm 658/onr client 3 1 #30211

Tm/tm 658/onr client 3 1

Tm/tm 658/onr client 3 1 #30211

Workflow file for this run

name: "Open Policy Agent: validate terraform"
on:
workflow_dispatch:
pull_request:
branches:
- main
permissions:
contents: read
defaults:
run:
shell: bash
jobs:
run-opa-policy-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Conftest
run: |
wget https://github.com/open-policy-agent/conftest/releases/download/v0.21.0/conftest_0.21.0_Linux_x86_64.tar.gz
tar xzf conftest_0.21.0_Linux_x86_64.tar.gz
sudo mv conftest /usr/local/bin
- name: Run Conftest
run: bash scripts/tests/validate/run-opa-tests.sh