From 644d3a76e7650148805de2a507d470f647798585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20Soul=C3=A9?= Date: Wed, 14 Aug 2024 11:18:07 +0200 Subject: [PATCH] chore: switch CI to go 1.23 & golangci-lint 1.60.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime Soulé --- .github/workflows/ci.yml | 8 ++++---- README.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f18915f..619fc0a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,10 +11,10 @@ jobs: test: strategy: matrix: - go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x, 1.19.x, 1.20.x, 1.21.x, tip] + go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x, 1.19.x, 1.20.x, 1.21.x, 1.22.x, tip] full-tests: [false] include: - - go-version: 1.22.x + - go-version: 1.23.x full-tests: true runs-on: ubuntu-latest @@ -32,7 +32,7 @@ jobs: if: matrix.full-tests run: | curl -sL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | - sh -s -- -b $HOME/go/bin v1.57.2 + sh -s -- -b $HOME/go/bin v1.60.1 $HOME/go/bin/golangci-lint run --max-issues-per-linter 0 \ --max-same-issues 0 \ --exclude="unused-parameter: parameter '[^']+' seems to be unused, consider removing or renaming it as _" \ @@ -43,7 +43,7 @@ jobs: -E gocritic \ -E godot \ -E goimports \ - -E maligned \ + -E govet \ -E misspell \ -E prealloc \ -E revive \ diff --git a/README.md b/README.md index b82185e..ff3f28c 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Easy mocking of http responses from external resources. ## Install -Currently supports Go 1.13 to 1.22 and is regularly tested against tip. +Currently supports Go 1.13 to 1.23 and is regularly tested against tip. `v1` branch has to be used instead of `master`.