Skip to content

Commit

Permalink
build(ci): cache deps (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfalkowski authored Apr 15, 2024
1 parent f48d64a commit b785b9e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,28 @@ jobs:
build:
docker:
- image: alexfalkowski/go:1.22-ruby
working_directory: ~/gocovmerge
steps:
- checkout
- run: git submodule sync
- run: git submodule update --init
- restore_cache:
name: restore deps
keys:
- gocovmerge-cache-{{ checksum "go.sum" }}
- run: make dep
- save_cache:
name: save deps
key: gocovmerge-cache-{{ checksum "go.sum" }}
paths:
- /home/circleci/go/pkg/mod
- run: make lint
- run: make build
resource_class: large
release:
docker:
- image: alexfalkowski/release:3.1
working_directory: ~/gocovmerge
steps:
- checkout
- run: release
Expand Down

0 comments on commit b785b9e

Please sign in to comment.