Skip to content

chore: bump golang.org/x/net from 0.11.0 to 0.17.0 in /constraint #1053

chore: bump golang.org/x/net from 0.11.0 to 0.17.0 in /constraint

chore: bump golang.org/x/net from 0.11.0 to 0.17.0 in /constraint #1053

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
lint:
name: "Lint"
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: Set up Go 1.19
uses: actions/setup-go@v4
with:
go-version: 1.19
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.50.0
working-directory: constraint
test:
name: "Unit test"
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Set up Go 1.19
uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Check out code into the Go module directory
uses: actions/checkout@v3
with:
path: go/src/github.com/open-policy-agent/frameworks
- name: Unit test
run: |
export PATH=$PATH:${GOBIN}
make -C constraint native-test
working-directory: go/src/github.com/open-policy-agent/frameworks
env:
GOPATH: ${{ github.workspace }}/go
GOBIN: ${{ github.workspace }}/go/bin
- name: Codecov Upload
uses: codecov/codecov-action@v3
with:
flags: unittests
file: go/src/github.com/open-policy-agent/frameworks/constraint/cover.out
fail_ci_if_error: false