From d9e92da6e98602a3e2129dad92f7b8eecca6dcee Mon Sep 17 00:00:00 2001 From: Michael Sverdlov Date: Thu, 18 Jan 2024 19:06:21 +0200 Subject: [PATCH] update deps --- .github/workflows/analysis.yml | 4 ++-- fanout/reader_test.go | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 1d2b086..765871f 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -22,7 +22,7 @@ jobs: uses: golangci/golangci-lint-action@v3 with: args: | - --timeout 5m --out-${NO_FUTURE}format colored-line-number --enable errcheck,gosimple,govet,ineffassign,staticcheck,typecheck,unused,gocritic,asasalint,asciicheck,errchkjson,exportloopref,forcetypeassert,makezero,nilerr,unparam,unconvert,wastedassign,usestdlibvars + --timeout 5m --out-${NO_FUTURE}format colored-line-number --enable errcheck,gosimple,govet,ineffassign,staticcheck,typecheck,unused,gocritic,asasalint,asciicheck,errchkjson,exportloopref,makezero,nilerr,unparam,unconvert,wastedassign,usestdlibvars Go-Sec: @@ -37,6 +37,6 @@ jobs: go-version: 1.20.x - name: Run Gosec Security Scanner - uses: securego/gosec@v2 + uses: securego/gosec@master with: args: -exclude G204,G301,G302,G304,G306 -tests -exclude-dir \.*test\.* ./... \ No newline at end of file diff --git a/fanout/reader_test.go b/fanout/reader_test.go index 305e994..6ad2361 100644 --- a/fanout/reader_test.go +++ b/fanout/reader_test.go @@ -47,7 +47,6 @@ func TestFanoutRead(t *testing.T) { if err != nil { t.Error(err) } - sum1 := results[0].([]byte) sum1, ok := results[0].([]byte) assert.True(t, ok) sum2, ok := results[1].([]byte)