Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Remove go github actions and come back to circleci
- Loading branch information
1 parent
3826f60
commit 7cc4fa8
Showing
2 changed files
with
64 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
version: 2 | ||
jobs: | ||
lint: | ||
docker: | ||
- image: circleci/golang:1.13 | ||
working_directory: /go/src/github.com/oxyno-zeta/s3-proxy | ||
steps: | ||
- checkout | ||
- run: make lint | ||
- save_cache: | ||
key: go-mod-{{ checksum "go.mod" }} | ||
paths: | ||
- "/go/pkg/" | ||
build: | ||
docker: | ||
- image: circleci/golang:1.13 | ||
working_directory: /go/src/github.com/oxyno-zeta/s3-proxy | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- go-mod-{{ checksum "go.mod" }} | ||
- run: make build | ||
build-cross: | ||
docker: | ||
- image: circleci/golang:1.13 | ||
working_directory: /go/src/github.com/oxyno-zeta/s3-proxy | ||
steps: | ||
- checkout | ||
- setup_remote_docker | ||
- restore_cache: | ||
keys: | ||
- go-mod-{{ checksum "go.mod" }} | ||
- run: make build-cross | ||
test: | ||
docker: | ||
- image: circleci/golang:1.13 | ||
working_directory: /go/src/github.com/oxyno-zeta/s3-proxy | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- go-mod-{{ checksum "go.mod" }} | ||
- run: make test | ||
- run: make coverage-report | ||
- run: mv coverage.html /tmp/artifacts | ||
- store_artifacts: | ||
path: /tmp/artifacts | ||
- run: go get github.com/mattn/goveralls | ||
- run: goveralls -coverprofile=c.out -service=circle-ci -repotoken=$COVERALLS_TOKEN | ||
workflows: | ||
version: 2 | ||
project: | ||
jobs: | ||
- lint | ||
- build: | ||
requires: | ||
- lint | ||
- build-cross: | ||
requires: | ||
- lint | ||
- test: | ||
requires: | ||
- lint |
This file was deleted.
Oops, something went wrong.