From 75e8c0fe50ba90a0dbd4f01a95cecc90e7ad5420 Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Tue, 2 Jan 2024 15:13:29 +0000 Subject: [PATCH] Check for use of deprecated functions Signed-off-by: Richard Wall --- .golangci.ci.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.golangci.ci.yaml b/.golangci.ci.yaml index ff12e0866..3e68a7e8a 100644 --- a/.golangci.ci.yaml +++ b/.golangci.ci.yaml @@ -11,6 +11,7 @@ linters: disable-all: true enable: - gosec + - staticcheck issues: # When we enable a new linter or a new issue check, we want to show **all** # instances of each issue in the GitHub UI or in the CLI report. This allows @@ -28,3 +29,6 @@ issues: - linters: - gosec text: "G(101|107|204|306|402)" + - linters: + - staticcheck + text: "SA(1002|1006|4000|4006)"