From 4fd958ea1a06c12cd554a8531f17d10dbffed206 Mon Sep 17 00:00:00 2001 From: Josiah Ilesanmi Date: Fri, 3 May 2024 21:31:38 +0200 Subject: fix configurations of golangci-lint Signed-off-by: Josiah Ilesanmi --- .github/workflows/ci-tests.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci-tests.yaml b/.github/workflows/ci-tests.yaml index 831f2f4..e345f4c 100644 --- a/.github/workflows/ci-tests.yaml +++ b/.github/workflows/ci-tests.yaml @@ -59,10 +59,17 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 + - name: Setup Golang + uses: actions/setup-go@v4 + with: + go-version: '1.20' + cache: false + env: + GO111MODULE: off - name: Run golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v5 with: - version: v1.52.2 + version: v1.57.2 args: --timeout 5m test: name: Ensure unit tests are passing -- cgit v1.2.3