Skip to content

chore: add coverage figures collector #10

chore: add coverage figures collector

chore: add coverage figures collector #10

Workflow file for this run

# Go Linters - GitHub Actions
name: linters
on: [push, pull_request]
jobs:
# Check linters on latest-ubuntu with default version of Go.
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
with:
go-version: "1.22"
- name: Checkout code
uses: actions/checkout@v2
- name: Install golangci-lint
run: |
go version
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.2
- name: Install mockgen
run: |
go install github.com/golang/mock/mockgen@v1.5.0
- name: Run required linters in .golangci.yml plus hard-coded ones here
run: make lint
- name: Run optional linters (not required to pass)
run: make lint-extra