on master help sign in
Add caching to CircleCI
commit3d4272b38a31d6bffe17a1720aab778fce5f9041 authorguillaume <guillaume@repl.it> dateMon 28 Jun 2021, 11:13 (5 years ago) parent9926b81
1 file changed+7
.circleci/config.yml+7
.circleci/config.yml+7
@@ -19,7 +19,14 @@ jobs:
1919 - image: nixos/nix
2020 steps:
2121 - checkout
22+ - restore_cache:
23+ key: nix-store
2224 - run: nix-build
25+ - save_cache:
26+ key: nix-store
27+ when: always
28+ paths:
29+ - /nix
2330 build_test_and_deploy:
2431 docker:
2532 - image: docker:18.09