From 770ad626f02482c0515f60ba97c5fc12259ec40f Mon Sep 17 00:00:00 2001 From: Sergio VS Date: Wed, 15 Mar 2023 16:31:25 +0100 Subject: [PATCH] chore: deprecated go 1.16 --- .github/workflows/build.yml | 2 +- .github/workflows/test.yml | 4 ++-- go.mod | 7 ++++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 940e101..f4f844f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ jobs: build: strategy: matrix: - go-version: [1.16.x, 1.17.x, 1.18.x, 1.19.x, 1.20.x] + go-version: [1.17.x, 1.18.x, 1.19.x, 1.20.x] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 06f63a8..ab23a82 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ jobs: test: strategy: matrix: - go-version: [1.16.x, 1.17.x, 1.18.x, 1.19.x, 1.20.x] + go-version: [1.17.x, 1.18.x, 1.19.x, 1.20.x] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: @@ -26,7 +26,7 @@ jobs: needs: test strategy: matrix: - go-version: [1.16.x, 1.17.x, 1.18.x, 1.19.x, 1.20.x] + go-version: [1.17.x, 1.18.x, 1.19.x, 1.20.x] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: diff --git a/go.mod b/go.mod index 3f841cd..0aa79b0 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,14 @@ module github.com/fasthttp/router -go 1.16 +go 1.17 require ( github.com/savsgio/gotils v0.0.0-20230208104028-c358bd845dee github.com/valyala/bytebufferpool v1.0.0 github.com/valyala/fasthttp v1.45.0 ) + +require ( + github.com/andybalholm/brotli v1.0.5 // indirect + github.com/klauspost/compress v1.16.3 // indirect +)