Skip to content

Commit

Permalink
chore: update circleci configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
shaj13 committed Feb 27, 2021
1 parent a597d9d commit b4513b3
Showing 1 changed file with 42 additions and 1 deletion.
43 changes: 42 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,56 @@
version: 2
jobs:
build:
lint:
docker:
- image: circleci/golang:1.13.1
working_directory: ~/go-guardian
steps:
- checkout
- run: make install
- run: make lint


tests:
docker:
- image: circleci/golang:1.13.1
working_directory: ~/go-guardian
steps:
- checkout
- run: make install
- run: make cover
- run: make deploy-cover


bench:
docker:
- image: circleci/golang:1.13.1
working_directory: ~/go-guardian
steps:
- checkout
- run: make install
- run: make bench

release:
docker:
- image: circleci/golang:1.13.1
working_directory: ~/go-guardian
steps:
- checkout
- run: make install
- run: make release

workflows:
version: 2
build:
jobs:
- lint
- tests
- bench
- release:
requires:
- lint
- tests
- bench
filters:
branches:
only: master

0 comments on commit b4513b3

Please sign in to comment.