diff --git a/.github/workflows/linter-testing-lib.yaml b/.github/workflows/linter-testing-lib.yaml index 0119765a..cb5635f8 100644 --- a/.github/workflows/linter-testing-lib.yaml +++ b/.github/workflows/linter-testing-lib.yaml @@ -67,16 +67,18 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + with: + submodules: recursive - name: Install Rust uses: actions-rs/toolchain@v1 with: profile: minimal toolchain: ${{ env.RUST_CLIPPY }} override: true - - name: Format + - name: Docs working-directory: ${{ matrix.build-dir }} run: | - RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --all-features + RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --all-features --color=always "lint_clippy": name: ${{ matrix.build-dir }} lint:clippy diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 838f6e06..9ca93687 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -95,7 +95,7 @@ jobs: - name: Run cargo doc working-directory: ${{ matrix.crates }} run: | - RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --all-features + RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --all-features --color=always # All templates are generated with the `cargo-generate` command and it is checked that the 'cargo test' command # can be executed without errors on the generated smart contracts.