From f7c687b3bc8dd55e53f38222c8c3acd648f7cb93 Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Wed, 25 Oct 2023 12:04:56 +0200 Subject: [PATCH] bump golangci-lint --- .github/workflows/lint.yml | 2 +- .golangci.yml | 7 +++++-- Makefile | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a47ec12..676456a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,7 +19,7 @@ jobs: - uses: golangci/golangci-lint-action@v3 with: - version: v1.53.3 + version: v1.55.0 go-mod-tidy: runs-on: ubuntu-20.04 diff --git a/.golangci.yml b/.golangci.yml index aca0060..593d6b2 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -52,8 +52,11 @@ linters-settings: - (github.com/datarhei/gosrt.Conn).Close - (github.com/datarhei/gosrt.Conn).SetReadDeadline - (github.com/datarhei/gosrt.Conn).SetWriteDeadline - - (*github.com/bluenviron/gortsplib/v3.Client).Close - - (*github.com/bluenviron/gortsplib/v3.Server).Close + - (*github.com/bluenviron/gortsplib/v4.Client).Close + - (*github.com/bluenviron/gortsplib/v4.Server).Close + - (*github.com/bluenviron/gortsplib/v4.ServerSession).Close + - (*github.com/bluenviron/gortsplib/v4.ServerStream).Close + - (*github.com/bluenviron/gortsplib/v4.ServerConn).Close govet: enable-all: true diff --git a/Makefile b/Makefile index c5ad60b..431eee9 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ BASE_IMAGE = golang:1.21-alpine3.18 -LINT_IMAGE = golangci/golangci-lint:v1.53.3 +LINT_IMAGE = golangci/golangci-lint:v1.55.0 .PHONY: $(shell ls)