mirror of https://github.com/docker/compose.git
Setup Github Action for CI
close #1 Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
d612a4ab89
commit
52440a4732
|
@ -7,4 +7,7 @@ test: ## Run tests
|
|||
dev: build
|
||||
ln -f -s "${PWD}/dist/docker-ecs" "${HOME}/.docker/cli-plugins/docker-ecs"
|
||||
|
||||
.PHONY: build test dev
|
||||
lint: ## Verify Go files
|
||||
golangci-lint run --config ./golangci.yaml ./...
|
||||
|
||||
.PHONY: clean build test dev lint
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
run:
|
||||
deadline: 2m
|
||||
|
||||
linters:
|
||||
disable-all: true
|
||||
enable:
|
||||
- gofmt
|
||||
- goimports
|
||||
- golint
|
||||
- gosimple
|
||||
- ineffassign
|
||||
- misspell
|
|
@ -2,6 +2,7 @@ package amazon
|
|||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/service/ecs"
|
||||
"github.com/sirupsen/logrus"
|
||||
|
|
Loading…
Reference in New Issue