add support for 'reuse' mode to allow act to be used for a fast local task runner
This commit is contained in:
8
.github/actions/check/Dockerfile
vendored
8
.github/actions/check/Dockerfile
vendored
@@ -1,10 +1,6 @@
|
||||
FROM golang:1.11.4-stretch
|
||||
|
||||
RUN go get -u honnef.co/go/tools/cmd/staticcheck
|
||||
RUN go get -u golang.org/x/lint/golint
|
||||
RUN go get -u github.com/fzipp/gocyclo
|
||||
FROM golangci/golangci-lint:v1.12.5
|
||||
|
||||
COPY "entrypoint.sh" "/entrypoint.sh"
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
8
.github/actions/check/entrypoint.sh
vendored
8
.github/actions/check/entrypoint.sh
vendored
@@ -1,10 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
#GOPATH=/go
|
||||
#PATH=${GOPATH}/bin:/usr/local/go/bin:${PATH}
|
||||
|
||||
go vet ./...
|
||||
golint -set_exit_status ./...
|
||||
staticcheck ./...
|
||||
gocyclo -over 10 .
|
||||
golangci-lint run
|
||||
go test -cover ./...
|
Reference in New Issue
Block a user