diff --git a/.circleci/config.yml b/.circleci/config.yml index f0b57d1a8..0835bd7a5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,6 +13,15 @@ executors: - image: us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder-rust:latest commands: + install-dependencies: + description: Install dependencies + steps: + - run: + name: Enable corepack + command: corepack enable + - run: + name: Install dependencies + command: just deps notify-failures-on-develop: description: "Notify Slack" parameters: @@ -31,9 +40,7 @@ jobs: executor: builder steps: - checkout - - run: - name: Install deps - command: just deps + - install-dependencies - run: name: markdown lint command: just lint-specs-md-check @@ -58,9 +65,7 @@ jobs: executor: builder steps: - checkout - - run: - name: Install dependencies - command: just deps + - install-dependencies - run: name: Build command: just build diff --git a/Justfile b/Justfile index 930725d33..dc62a218c 100644 --- a/Justfile +++ b/Justfile @@ -6,8 +6,8 @@ default: # Install required dependencies deps: - cargo install mdbook mdbook-katex mdbook-linkcheck mdbook-mermaid pnpm i --frozen-lockfile + cargo install mdbook mdbook-katex mdbook-linkcheck mdbook-mermaid # Lint the workspace for all available targets lint: lint-specs-md-check lint-specs-toc-check lint-filenames lint-links lint-specs-spelling