Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,35 +19,45 @@ jobs:
steps:
- restore_cache:
key: repo-{{ .Environment.CIRCLE_SHA1 }}
- run: make verify
- run:
name: Verify 'vendor' dependencies
command: make verify

checkfmt:
<<: *defaults
steps:
- restore_cache:
key: repo-{{ .Environment.CIRCLE_SHA1 }}
- run: make checkfmt
- run:
name: Check formatting of all go files
command: make checkfmt

lint:
<<: *defaults
steps:
- restore_cache:
key: repo-{{ .Environment.CIRCLE_SHA1 }}
- run: make tools lint
- run:
name: Run linter
command: make tools lint

test:
<<: *defaults
steps:
- restore_cache:
key: repo-{{ .Environment.CIRCLE_SHA1 }}
- run: make test
- run:
name: Run tests
command: make test

build:
<<: *defaults
steps:
- restore_cache:
key: repo-{{ .Environment.CIRCLE_SHA1 }}
- run: make build
- run:
name: Build binary for current OS/ARCH
command: make build
- save_cache:
key: cca-{{ .Revision }}
paths:
Expand Down