Skip to content

Commit a44466b

Browse files
committed
chore: enable gocritic in linter
1 parent b496442 commit a44466b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
go-version: stable
1717
- uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
1818
with:
19-
args: --timeout=180s
19+
args: --timeout=180s --enable gocritic
2020
lint-commits:
2121
permissions:
2222
contents: read

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ build:
1919

2020
.PHONY: lint
2121
lint:
22-
golangci-lint run
22+
golangci-lint run --enable gocritic
2323

2424
.PHONY: fuzz
2525
fuzz: mod-tidy generate

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ It also automatically builds and tests your code using [GitHub Actions](https://
2323
* Test Pull Requests using `go test`.
2424
* Build Docker images from Pull Requests for manual testing and review.
2525
* Static code analysis using [CodeQL](https://codeql.github.com/) and [Go Report Card](https://goreportcard.com/).
26-
* Test coverage analysis using [Coveralls](https://coveralls.io/).
26+
* Coverage analysis using the [go-test-coverage action](https://github.com/vladopajic/go-test-coverage).
2727
* Security analysis using [OpenSSF](https://securityscorecards.dev).
2828

2929
## How to use

0 commit comments

Comments
 (0)