From 0b8ec6eb7af52e6ae02c10b01429dfef2e7773cb Mon Sep 17 00:00:00 2001 From: utahta Date: Wed, 25 Nov 2020 14:40:48 +0900 Subject: [PATCH] add test for go-1.15 to CI --- .circleci/config.yml | 11 +++++++++++ Makefile | 4 +--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 507c373..56e5016 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -47,6 +47,16 @@ jobs: - run: name: Run tests command: make test + "go-1.15": + docker: + - image: circleci/golang:1.15 + working_directory: /go/src/github.com/utahta/go-cronowriter + steps: + - checkout + - run: make mod + - run: + name: Run tests + command: make test workflows: version: 2 @@ -56,3 +66,4 @@ workflows: - "go-1.12" - "go-1.13" - "go-1.14" + - "go-1.15" diff --git a/Makefile b/Makefile index b0246ad..bc2864b 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,7 @@ .PHONY: fmt test -install: - @dep ensure - mod: + go mod download go mod tidy fmt: