From dd3add6d807b229db8a5dad7d858a549e2c515f4 Mon Sep 17 00:00:00 2001 From: Lukas Burkhalter Date: Thu, 18 Jan 2024 15:53:48 +0100 Subject: [PATCH] fix: Update CI to go 1.17 changes --- .github/workflows/go.yml | 6 +++--- .golangci.yml | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0b2ddf10..066c522c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -23,16 +23,16 @@ jobs: run: go test -v -race ./... test-old: - name: Test with 1.15 + name: Test with 1.17 runs-on: ubuntu-latest steps: - name: Check out repo uses: actions/checkout@v3 - - name: Set up Go 1.15 + - name: Set up Go 1.17 uses: actions/setup-go@v3 with: - go-version: 1.15 + go-version: 1.17 - name: Test run: go test -v -race ./... diff --git a/.golangci.yml b/.golangci.yml index bffb2382..e0b7e09c 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -21,6 +21,8 @@ issues: - missing output for example, go test can't validate it - variable 'hasExpiredEntity' is only used in the if-statement exclude-rules: + - path: crypto/key_clear.go + text: "SA1019" - path: crypto/crypto_example_test.go text: "G101: Potential hardcoded credentials" - path: crypto/encrypt_decrypt_test.go