Skip to content

Commit

Permalink
pin opa version to v0.58.0
Browse files Browse the repository at this point in the history
  • Loading branch information
simar7 committed Dec 6, 2023
1 parent 2518a53 commit 20f0d23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/setup-opa/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ description: Setup OPA CLI
runs:
using: composite
steps:
- name: Setup OPA
- name: Setup OPA v0.58.0
shell: bash
run: |
curl --retry 3 -L -o opa_linux_amd64_static https://github.com/open-policy-agent/opa/releases/latest/download/opa_linux_amd64_static
curl -L -o checksum https://github.com/open-policy-agent/opa/releases/latest/download/opa_linux_amd64_static.sha256
curl --retry 3 -L -o opa_linux_amd64_static https://github.com/open-policy-agent/opa/releases/download/v0.58.0/opa_darwin_amd64
curl -L -o checksum https://github.com/open-policy-agent/opa/releases/download/v0.58.0/opa_darwin_amd64.sha256
sha256sum -c checksum
chmod 755 ./opa_linux_amd64_static
sudo mv ./opa_linux_amd64_static /usr/local/bin/opa

0 comments on commit 20f0d23

Please sign in to comment.