From 15942ff16c3fa491c238881c017a8fa6d2a191aa Mon Sep 17 00:00:00 2001 From: Angelo Capossele Date: Tue, 14 May 2024 17:20:14 +0100 Subject: [PATCH] Run forge doc on CI (#111) Closes #18 --- .github/workflows/main.yml | 3 +-- remappings.txt | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 remappings.txt diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 388b923c..5ff58954 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -176,8 +176,7 @@ jobs: - run: cargo install --force --locked cargo-risczero@$RISC0_CRATE_VERSION - run: cargo risczero install --version $RISC0_TOOLCHAIN_VERSION - run: cargo doc --no-deps --workspace - # TODO(#18) debug forge doc and get this working - #- run: forge doc --root contracts + - run: forge doc #- run: sccache --show-stats # Run as a separate job because we need to install a different set of tools. diff --git a/remappings.txt b/remappings.txt new file mode 100644 index 00000000..77797b2e --- /dev/null +++ b/remappings.txt @@ -0,0 +1,2 @@ +forge-std/=lib/forge-std/src/ +openzeppelin/=lib/openzeppelin-contracts/