diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ee89ffd..61c159f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,9 +14,9 @@ jobs: strategy: matrix: go-version: - - '1.18.x' - '1.19.x' - '1.20.x' + - '1.21.x' platform: [ubuntu-latest] name: test @@ -38,10 +38,10 @@ jobs: steps: - name: checkout the code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: setup go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} @@ -49,15 +49,15 @@ jobs: run: git fetch --prune --unshallow - name: golanci-linter - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: - version: v1.51.2 + version: v1.56.2 - name: run unit tests run: make test - name: upload code coverage - uses: codecov/codecov-action@v3.1.1 + uses: codecov/codecov-action@v4 if: contains(github.ref, 'master') with: file: ./cover.out diff --git a/README.md b/README.md index 70d427b..49335b9 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Simple interface for caching ## Installation -Cachego requires Go 1.18 or later. +Cachego requires Go 1.19 or later. ``` go get github.com/faabiosr/cachego diff --git a/go.mod b/go.mod index ae241f1..77c7857 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/faabiosr/cachego -go 1.18 +go 1.19 require ( github.com/bradfitz/gomemcache v0.0.0-20230124162541-5f7a7d875746