From e078ac5bef214edb04ee3020990510838a1a122c Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Wed, 23 Sep 2020 07:55:18 +0000 Subject: [PATCH] Fix CI --- .circleci/config.yml | 3 +-- tools/dependencies.sh | 6 ------ tools/lint.sh | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) delete mode 100755 tools/dependencies.sh diff --git a/.circleci/config.yml b/.circleci/config.yml index 61900aa..34ad63f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,9 +28,8 @@ jobs: - run: | apt -y update --fix-missing apt -y install bundler - - run: tools/dependencies.sh - - run: tools/lint.sh - run: tools/build.sh + - run: tools/lint.sh - run: tools/unit_test.sh - run: tools/integration_test.sh - persist_to_workspace: diff --git a/tools/dependencies.sh b/tools/dependencies.sh deleted file mode 100755 index 34b57ae..0000000 --- a/tools/dependencies.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -set -ex - -go get github.com/golangci/golangci-lint/cmd/golangci-lint -go get -d ./... diff --git a/tools/lint.sh b/tools/lint.sh index 9e115d1..5600919 100755 --- a/tools/lint.sh +++ b/tools/lint.sh @@ -2,4 +2,4 @@ set -ex -golangci-lint run +go run github.com/golangci/golangci-lint/cmd/golangci-lint run