Add client key support #365
Workflow file for this run
This file contains hidden or 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: main integration build | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5.5.0 | |
| with: | |
| go-version: '1.25.4' | |
| - name: Build | |
| run: go build -v ./... | |
| - name: Test | |
| run: go test ./... -coverpkg "$(go list || go list -m | head -1)/..." -coverprofile coverage-raw.out -p 1 | |
| - name: Clean coverage | |
| run: cat coverage-raw.out | grep -vE 'mock|test|generate/main.go|prd.go|file.go' > coverage.out | |
| - name: Update coverage report | |
| uses: ncruces/go-coverage-report@v0.3.1 | |
| with: | |
| coverage-file: coverage.out | |
| report: true | |
| chart: true | |
| amend: true | |
| if: github.event_name == 'push' | |
| continue-on-error: true |