mirror of
https://github.com/docker/compose.git
synced 2025-07-23 21:54:40 +02:00
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
|
dev: build
|
||||||
ln -f -s "${PWD}/dist/docker-ecs" "${HOME}/.docker/cli-plugins/docker-ecs"
|
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
|
||||||
|
12
ecs/golangci.yaml
Normal file
12
ecs/golangci.yaml
Normal file
@ -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 (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"github.com/aws/aws-sdk-go/aws"
|
"github.com/aws/aws-sdk-go/aws"
|
||||||
"github.com/aws/aws-sdk-go/service/ecs"
|
"github.com/aws/aws-sdk-go/service/ecs"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user