Skip to content

Bump golang.org/x/net from 0.16.0 to 0.17.0 #83

Bump golang.org/x/net from 0.16.0 to 0.17.0

Bump golang.org/x/net from 0.16.0 to 0.17.0 #83

Workflow file for this run

name: Quality Gate
env:
COVERAGE_THRESH_PCT: 81
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- main
jobs:
ci_gate:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.21
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
- name: Setup unit test
run: go install github.com/klmitch/[email protected]
- name: Run unit test with coverage
run: go test --coverprofile cover.out ./pdp ./attributes
- name: Check coverage meets threshold
run: overcover --coverprofile cover.out ./pdp ./attributes --threshold ${{ env.COVERAGE_THRESH_PCT }}
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Validate python project files
run: python3 -m compileall ./clients/python