From b8eae2e9830d61dfdf54a2a161ebf2820307c781 Mon Sep 17 00:00:00 2001 From: Sergio VS Date: Fri, 17 Nov 2023 15:07:02 +0100 Subject: [PATCH] chore: deprecate Go 1.17 and 1.18 and add support to 1.21 --- .github/workflows/build.yml | 2 +- .github/workflows/test.yml | 3 ++- go.mod | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 349b62a..7d6a788 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ jobs: build: strategy: matrix: - go-version: [1.17.x, 1.18.x, 1.19.x, 1.20.x] + go-version: [1.19.x, 1.20.x, 1.21.x] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fe97b94..8b6cfb1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,8 +3,9 @@ on: [push, pull_request] jobs: test: strategy: + fail-fast: false matrix: - go-version: [1.17.x, 1.18.x, 1.19.x, 1.20.x] + go-version: [1.19.x, 1.20.x, 1.21.x] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: diff --git a/go.mod b/go.mod index 49d963c..c36cb2a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/fasthttp/session/v2 -go 1.17 +go 1.19 require ( github.com/bradfitz/gomemcache v0.0.0-20230905024940-24af94b03874