Deploy artifact to public.ecr.aws #682
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: test rego bundle | |
on: | |
pull_request: | |
merge_group: | |
env: | |
GO_VERSION: '1.22' | |
jobs: | |
opa-tests: | |
name: OPA tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Build bundle | |
run: make bundle | |
- name: Setup OPA | |
uses: ./.github/actions/setup-opa | |
- name: Check bundle | |
run: opa inspect bundle.tar.gz |