Skip to content

Commit

Permalink
ci: Remove go github actions and come back to circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyno-zeta committed Mar 3, 2020
1 parent 3826f60 commit 7cc4fa8
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 95 deletions.
64 changes: 64 additions & 0 deletions .circleci/config.yml
@@ -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
95 changes: 0 additions & 95 deletions .github/workflows/go.yml

This file was deleted.

0 comments on commit 7cc4fa8

Please sign in to comment.