mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-29 18:36:30 +02:00
ci: install opa from source
This commit is contained in:
parent
6cda829ed8
commit
7aa97dee68
2 changed files with 1 additions and 6 deletions
6
.github/workflows/test.yaml
vendored
6
.github/workflows/test.yaml
vendored
|
@ -31,12 +31,6 @@ jobs:
|
|||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
- name: Install OPA
|
||||
run: |
|
||||
OS=$(uname | tr '[:upper:]' '[:lower:]')
|
||||
cd /usr/local/bin
|
||||
sudo curl -L -o opa https://openpolicyagent.org/downloads/latest/opa_${OS}_amd64
|
||||
sudo chmod +x ./opa
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Test
|
||||
|
|
1
Makefile
1
Makefile
|
@ -38,6 +38,7 @@ build-deps: ## Install build dependencies
|
|||
@echo "==> $@"
|
||||
@cd /tmp; GO111MODULE=on go get -u github.com/client9/misspell/cmd/misspell
|
||||
@cd /tmp; GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@${GOLANGCI_VERSION}
|
||||
@cd /tmp; GO111MODULE=on go get -u github.com/open-policy-agent/opa
|
||||
|
||||
.PHONY: docs
|
||||
docs: ## Start the vuepress docs development server
|
||||
|
|
Loading…
Add table
Reference in a new issue