Skip to content

feat: provide a func to pass context later #22

feat: provide a func to pass context later

feat: provide a func to pass context later #22

Workflow file for this run

name: Build
on:
- push
- pull_request
jobs:
Test:
runs-on: ubuntu-20.04
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18.x
- uses: actions/checkout@v3.0.0
- name: Test
run: |
go test ./... -coverprofile coverage.out
- name: Report
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
run: |
bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage.out --force-coverage-parser go