Skip to content

Commit

Permalink
remove: support for go v1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
faabiosr committed Mar 3, 2024
1 parent f579816 commit 5b52bf7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -38,26 +38,26 @@ 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 }}

- name: unshallow
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 5b52bf7

Please sign in to comment.