Skip to content

chore(linter): enable errname, errorlint and goprintffuncname linters #1371

chore(linter): enable errname, errorlint and goprintffuncname linters

chore(linter): enable errname, errorlint and goprintffuncname linters #1371

Workflow file for this run

name: Reporting test coverage
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Checkout code
uses: actions/checkout@v3
- name: Test with coverage
run: go test -gcflags=-l -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.txt