diff --git a/.circleci/config.yml b/.circleci/config.yml index aaafaf2fd8ae8aa2b96ba297f0be2ab9f9d0dcd7..60d894b1e048df7a561f709ac0e67379e3837b67 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -38,6 +38,12 @@ jobs: apk update apk add ca-certificates + - restore_cache: + name: "Restore Nix Store Paths" + keys: + - paymentserver-nix-store-v1-{{ .Environment.NIXPKGS_REV }} + - paymentserver-nix-store-v1- + - run: name: "Install Git" command: | @@ -65,6 +71,10 @@ jobs: - "/root/.stack" - ".stack-work" + - save_cache: + name: "Cache Nix Store Paths" + key: paymentserver-nix-store-v1-{{ .Environment.NIXPKGS_REV }} + workflows: version: 2 everything: