Skip to content

Commit

Permalink
clean a bit the circleci config
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Panato <[email protected]>
  • Loading branch information
cpanato authored and poiana committed Nov 19, 2020
1 parent e932dda commit 4d17007
Showing 1 changed file with 20 additions and 17 deletions.
37 changes: 20 additions & 17 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
version: 2.1
executors:
default:
docker:
- image: circleci/golang:1.14.12

jobs:
lint:
executor:
name: default
steps:
- checkout
- run: make lint

test:
executor:
name: default
steps:
- checkout
- run: make test

workflows:
main:
jobs:
Expand All @@ -10,20 +30,3 @@ workflows:
filters:
tags:
only: /[0-9]+(\.[0-9]+)*(-.*)*/
jobs:
test:
docker:
- image: docker.io/golang:1.14.12
steps:
- checkout
- run:
name: Test
command: make test
lint:
docker:
- image: docker.io/golang:1.14.12
steps:
- checkout
- run:
name: Lint
command: make lint

0 comments on commit 4d17007

Please sign in to comment.