From 8ddf0893ed78577a52b37015354fe0c6e1c32b37 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sun, 12 May 2024 17:27:46 +0200 Subject: [PATCH] ci add cargo test of docs --- .gitea/workflows/cargo.yaml | 6 +++--- .github/workflows/cargo.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/cargo.yaml b/.gitea/workflows/cargo.yaml index f35cb90..6b9afbb 100644 --- a/.gitea/workflows/cargo.yaml +++ b/.gitea/workflows/cargo.yaml @@ -31,13 +31,13 @@ jobs: echo 'index = "https://git.cscherr.de/PlexSheep/_cargo-index.git"' >> ~/.cargo/config.toml cat ~/.cargo/config.toml - name: cargo clippy check - run: cargo clippy --all-features --all-targets + run: cargo clippy --all-features --all-targets --workspace - name: cargo clippy fix - run: cargo clippy --fix --all-features --all-targets + run: cargo clippy --fix --all-features --all-targets --workspace - name: cargo fmt run: cargo fmt --all - name: cargo test - run: cargo test --all-features --all-targets + run: cargo test --all-features --all-targets --workspace && cargo test --all-features --workspace --doc - name: commit back to repository uses: https://github.com/stefanzweifel/git-auto-commit-action@v5 with: diff --git a/.github/workflows/cargo.yaml b/.github/workflows/cargo.yaml index ea06297..d2c9936 100644 --- a/.github/workflows/cargo.yaml +++ b/.github/workflows/cargo.yaml @@ -32,13 +32,13 @@ jobs: echo 'index = "https://git.cscherr.de/PlexSheep/_cargo-index.git"' >> ~/.cargo/config.toml cat ~/.cargo/config.toml - name: cargo clippy check - run: cargo clippy --all-features --all-targets + run: cargo clippy --all-features --all-targets --workspace - name: cargo clippy fix - run: cargo clippy --fix --all-features --all-targets + run: cargo clippy --fix --all-features --all-targets --workspace - name: cargo fmt run: cargo fmt --all - name: cargo test - run: cargo test --all-features --all-targets + run: cargo test --all-features --all-targets --workspace && cargo test --all-features --workspace --doc - name: commit back to repository uses: stefanzweifel/git-auto-commit-action@v5 with: