Skip to content

Commit

Permalink
Add check lint to circleci and remove the tag filter
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Nov 15, 2020
1 parent 17a8a8d commit 3342c6d
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,23 @@ version: 2.1
workflows:
main:
jobs:
- test:
filters:
tags:
only: /v[0-9]+(\.[0-9]+)*(-.*)*/
- test
- lint

jobs:
test:
docker:
- image: docker.io/golang:1.14.0
- image: docker.io/golang:1.14.12
steps:
- checkout
- run:
name: Test
command: make 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 3342c6d

Please sign in to comment.