1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

Remove Golint

- Golint is deprecated
- Use staticcheck and golangci-lint instead
This commit is contained in:
Frédéric Guillot 2024-02-24 20:44:40 -08:00
parent b48ad6dbfb
commit 420a3d4d95
4 changed files with 15 additions and 8 deletions

View file

@ -27,6 +27,11 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: "1.22"
- run: "go vet ./..."
- uses: golangci/golangci-lint-action@v4
with:
args: --timeout 10m --skip-dirs tests --disable errcheck --enable sqlclosecheck --enable misspell --enable gofmt --enable goimports --enable whitespace
- uses: dominikh/staticcheck-action@v1.3.0
with:
version: "2023.1.7"
install-go: false