Skip to content

enable coverage report #69

enable coverage report

enable coverage report #69

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.22'
- uses: golangci/golangci-lint-action@v6
with:
version: v1.61.0
args: --timeout=5m
- name: Test
run: make test
- name: Update coverage report
uses: ncruces/go-coverage-report@v0
with:
coverage-file: cover.out
continue-on-error: true