Skip to content

Commit

Permalink
Deprecate old version
Browse files Browse the repository at this point in the history
Set a minimal version and update the linter.
  • Loading branch information
faabiosr committed Jan 15, 2022
1 parent d94badd commit dd8d20b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ on:
branches:
- master
- develop
pull_request:
branches:
- master

jobs:
test:
strategy:
matrix:
go-version: ['1.14.x', '1.15.x']
go-version:
- '1.15.x'
- '1.16.x'
- '1.17.x'
platform: [ubuntu-latest]

name: test
Expand Down Expand Up @@ -40,7 +46,7 @@ jobs:
go-version: ${{ matrix.go-version }}

- name: install golanci-linter
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.42.1
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.43.0

- name: run unit tests
run: make test
Expand Down
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.13 or later.
Cachego requires Go 1.15 or later.

```
go get github.com/faabiosr/cachego
Expand Down

0 comments on commit dd8d20b

Please sign in to comment.