mirror of
https://github.com/aler9/gortsplib
synced 2025-10-07 08:01:14 +08:00
update linter (#711)
This commit is contained in:
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: golangci/golangci-lint-action@v3
|
- uses: golangci/golangci-lint-action@v3
|
||||||
with:
|
with:
|
||||||
version: v1.61.0
|
version: v1.64.5
|
||||||
|
|
||||||
go-mod-tidy:
|
go-mod-tidy:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
@@ -3,9 +3,10 @@ linters:
|
|||||||
- asciicheck
|
- asciicheck
|
||||||
- bidichk
|
- bidichk
|
||||||
- bodyclose
|
- bodyclose
|
||||||
|
#- contextcheck
|
||||||
|
- copyloopvar
|
||||||
- dupl
|
- dupl
|
||||||
- errorlint
|
- errorlint
|
||||||
- exportloopref
|
|
||||||
- gochecknoinits
|
- gochecknoinits
|
||||||
- gocritic
|
- gocritic
|
||||||
- gofmt
|
- gofmt
|
||||||
@@ -18,7 +19,7 @@ linters:
|
|||||||
- revive
|
- revive
|
||||||
- usestdlibvars
|
- usestdlibvars
|
||||||
- unconvert
|
- unconvert
|
||||||
- tenv
|
#- usetesting
|
||||||
- tparallel
|
- tparallel
|
||||||
- wastedassign
|
- wastedassign
|
||||||
- whitespace
|
- whitespace
|
||||||
|
Reference in New Issue
Block a user