Skip to content

fix: satisfy the linter (funlen, gocognit, nolintlint, usetesting) (#1) #3

fix: satisfy the linter (funlen, gocognit, nolintlint, usetesting) (#1)

fix: satisfy the linter (funlen, gocognit, nolintlint, usetesting) (#1) #3

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
with:
go-version: "1.25"
- run: go build ./...
- run: go test -race ./...
# maratori's golden config (.golangci.yml). gofmt/goimports/golines run as
# formatters inside it, so there is no separate fmt step.
- uses: golangci/golangci-lint-action@9fae48acfc02a90574d7c304a1758ef9895495fa # v7
with:
version: v2.9.0