Bump golang.org/x/net from 0.8.0 to 0.23.0 in /pkg/opa-core #262
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: integration | |
on: | |
push: | |
branches: [ master, dev ] | |
pull_request: | |
branches: [ master, dev ] | |
jobs: | |
integration: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
namespace: [policy-system, test-system] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Install Helm | |
uses: azure/setup-helm@v3 | |
- name: Install kubectl | |
uses: azure/setup-kubectl@v3 | |
- name: Install kind | |
uses: helm/[email protected] | |
with: | |
install_only: true | |
- name: setup go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20.x' | |
cache: true | |
- name: Run tests | |
env: | |
NAMESPACE: ${{ matrix.namespace }} | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
run: | | |
make build | |
export VERSION=test | |
docker build -t weaveworks/policy-agent:${VERSION} . | |
cd test/integration | |
bash deploy.sh | |
go test -v ./... |