Skip to content

chore(deps): bump github.com/hashicorp/go-getter from 1.5.11 to 1.7.6 #145

chore(deps): bump github.com/hashicorp/go-getter from 1.5.11 to 1.7.6

chore(deps): bump github.com/hashicorp/go-getter from 1.5.11 to 1.7.6 #145

Workflow file for this run

name: test rego
on:
push:
branches:
- master
paths-ignore:
- '**/*.md'
- 'LICENSE'
pull_request:
paths-ignore:
- '**/*.md'
- 'LICENSE'
env:
GO_VERSION: "1.18"
jobs:
opa-tests:
name: OPA tests
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup OPA
run: |
curl -L -o opa https://openpolicyagent.org/downloads/latest/opa_linux_amd64
chmod 755 ./opa
sudo mv ./opa /usr/local/bin
- name: OPA Format
run: |
files=$(opa fmt --list . | grep -v vendor || true)
if [ -n "$files" ]; then
echo "=== The following files are not formatted ==="
echo "$files"
exit 1
fi
- name: OPA Test
run: opa test internal/rules --explain fails