mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
fix: address minor issues detected by Go linters
This commit is contained in:
parent
febb7b1748
commit
e342a4f143
10 changed files with 31 additions and 25 deletions
8
.github/workflows/linters.yml
vendored
8
.github/workflows/linters.yml
vendored
|
@ -33,12 +33,10 @@ jobs:
|
|||
with:
|
||||
args: >
|
||||
--timeout 10m
|
||||
--disable errcheck,staticcheck
|
||||
--disable errcheck
|
||||
--enable sqlclosecheck,misspell,whitespace,gocritic
|
||||
- uses: dominikh/staticcheck-action@v1.3.1
|
||||
with:
|
||||
version: "latest"
|
||||
install-go: false
|
||||
- name: Run gofmt linter
|
||||
run: gofmt -d -e .
|
||||
|
||||
commitlint:
|
||||
name: Commit Linter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue