From 56af51c5dd146f8591e6052356f00d3b5e9b88fd Mon Sep 17 00:00:00 2001 From: Fabio Ribeiro Date: Tue, 1 Apr 2025 20:36:45 +0200 Subject: [PATCH] remove: support for go v1.19 --- .github/workflows/test.yml | 8 ++------ README.md | 2 +- go.mod | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 45fd3f8..da070fa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,14 +14,10 @@ jobs: strategy: matrix: go-version: - - '1.19.x' - '1.20.x' - '1.21.x' + - '1.22.x' platform: [ubuntu-latest] - include: - - golangcilinter-version: 'v1.53.3' - - go-version: '1.21.x' - golangcilinter-version: 'v1.55.2' name: test runs-on: ${{ matrix.platform }} @@ -55,7 +51,7 @@ jobs: - name: golanci-linter uses: golangci/golangci-lint-action@v6 with: - version: ${{ matrix.golangcilinter-version }} + version: v1.55.2 - name: run unit tests run: make test diff --git a/README.md b/README.md index 176c767..293e34a 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Simple interface for caching ## Installation -Cachego requires Go 1.19 or later. +Cachego requires Go 1.20 or later. ``` go get github.com/faabiosr/cachego diff --git a/go.mod b/go.mod index 2b7822d..e8dd8c8 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/faabiosr/cachego -go 1.19 +go 1.20 require ( github.com/bradfitz/gomemcache v0.0.0-20230905024940-24af94b03874