From 862ee69e7ca6782f088ec12d572becddb769e254 Mon Sep 17 00:00:00 2001 From: Noisekit Date: Fri, 18 Aug 2023 10:00:30 +0800 Subject: [PATCH] Cache SOLC --- .circleci/config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index d855a1c345..49e4c791ed 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -33,9 +33,17 @@ jobs: - run: name: "Build TS" command: yarn workspaces foreach --topological-dev --verbose run build:ts + + - restore_cache: + keys: + - hardhat-{{ .Environment.SOLC_VERSION }} - run: name: "Generate docs for each contract" command: yarn workspaces foreach --verbose run docgen + - save_cache: + key: hardhat-{{ .Environment.SOLC_VERSION }} + paths: + - "~/.cache/hardhat-nodejs" - run: name: "Generate combined smart-contracts.md" command: yarn workspace @synthetixio/docgen run docgen:contracts