[go: nahoru, domu]

Skip to content

Commit

Permalink
chore: specify support for Go 1.11 and above
Browse files Browse the repository at this point in the history
  • Loading branch information
aseure committed May 4, 2020
1 parent 20ebed1 commit eb39124
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 16 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,27 @@ jobs:
steps:
- checkout
- restore_cache:
key: go-cache-1-14
key: go-cache-1-14
- run:
name: Install golangci-lint linter
command: curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.25.0
- run:
name: Check formatting
command: make lint
test-1-11:
docker:
- image: circleci/golang:1.11
steps:
- checkout
- restore_cache:
key: go-cache-1-11
- credentials
- test:
go_version: "1.11"
- save_cache:
key: go-cache-1-11
paths:
- "~/go/pkg"
test-1-12:
docker:
- image: circleci/golang:1.12
Expand Down Expand Up @@ -93,6 +107,7 @@ workflows:
build:
jobs:
- format
- test-1-11
- test-1-12
- test-1-13
- test-1-14
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<a href="https://godoc.org/github.com/algolia/algoliasearch-client-go"><img src="https://godoc.org/github.com/algolia/algoliasearch-client-go?status.svg" alt="GoDoc"></img></a>
<a href="https://goreportcard.com/report/github.com/algolia/algoliasearch-client-go"><img src="https://goreportcard.com/badge/github.com/algolia/algoliasearch-client-go" alt="Go Report Card"></img></a>
<a href="https://github.com/algolia/algoliasearch-client-go/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License"></img></a>
<img src="https://img.shields.io/badge/Go-%3E=1.8-green.svg" alt="Supported version"></img></a>
<img src="https://img.shields.io/badge/Go-%3E=1.11-green.svg" alt="Supported version"></img></a>
</p>
</p>

Expand Down

0 comments on commit eb39124

Please sign in to comment.