diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 270e0e8..14760c3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ jobs: build: strategy: matrix: - go-version: [1.17.x] + go-version: [1.20.x] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3a8b2cf..3e7bc54 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ jobs: test: strategy: matrix: - go-version: [1.17.x] + go-version: [1.20.x] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -25,7 +25,7 @@ jobs: needs: test strategy: matrix: - go-version: [1.17.x] + go-version: [1.20.x] runs-on: ubuntu-latest steps: - uses: shogo82148/actions-goveralls@v1 diff --git a/README.md b/README.md index a4cf96e..7298373 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Simple, lightweight and ultra-fast HTTP Cache to speed up your websites. ### Requirements -- [Go](https://golang.org/dl/) >= 1.13.X +- [Go](https://golang.org/dl/) >= 1.20.X - make - git diff --git a/docker/Dockerfile b/docker/Dockerfile index 5fc0ae5..864d02c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -2,7 +2,7 @@ ### BUILDER ### ############### -FROM golang:1.17-alpine3.15 as builder +FROM golang:1.20-alpine3.17 as builder RUN apk add git build-base @@ -17,7 +17,7 @@ RUN make ### RELEASE ### ############### -FROM alpine:3.15 +FROM alpine:3.17 LABEL Author="Sergio Andres Virviescas Santana " diff --git a/go.mod b/go.mod index 7519f3a..8e0c98f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/savsgio/kratgo -go 1.17 +go 1.20 require ( github.com/allegro/bigcache/v3 v3.0.1