Skip to content

Bump vladopajic/go-test-coverage from 2.8.1 to 2.10.1 #5

Bump vladopajic/go-test-coverage from 2.8.1 to 2.10.1

Bump vladopajic/go-test-coverage from 2.8.1 to 2.10.1 #5

Workflow file for this run

---
name: test
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
concurrency:
group: "${{ github.workflow }}-$${{ github.pull_request.number || github.run_id }}"
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
goVer:
- "1.21"
- "1.22"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.goVer }}
- run: go test -v -coverprofile="coverage.out" ./...
- run: go tool cover -func="coverage.out"
- uses: vladopajic/go-test-coverage@v2.10.1
with:
config: ".github/testcoverage.yml"