Skip to content

add support for cov-file-path #3

add support for cov-file-path

add support for cov-file-path #3

Workflow file for this run

name: "CI"
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
- 'releases/*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 10
- uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: ./
id: coverage
with:
working-directory: test-go-module
coverage-threshold: 0
cover-pkg: ./...
- if: steps.coverage.outputs.coverage-pct < 40
uses: actions/github-script@v6
with:
script: |
core.setFailed('Incorrect coverage-pct: ${{ steps.coverage.outputs.coverage-pct }}')