Skip to content

Commit 0825a70

Browse files
committed
chore: simplify workflow to minimal state
1 parent a1c660a commit 0825a70

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

.github/workflows/workflow.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -13,33 +13,6 @@ env:
1313
RUST_BACKTRACE: "1"
1414

1515
jobs:
16-
cargo-doc:
17-
name: Cargo Doc
18-
runs-on: ubuntu-latest-16-cores
19-
steps:
20-
- name: Checkout
21-
uses: actions/checkout@v4
22-
with:
23-
fetch-depth: 2 # Need at least 2 commits for diff
24-
25-
- name: Check for doc comment changes
26-
id: check-docs
27-
run: |
28-
if git diff HEAD^ HEAD -U0 | grep -q '^\+\s*///\|^\+\s*//!\|^\+\s*#\[doc'; then
29-
echo "has_doc_changes=true" >> $GITHUB_OUTPUT
30-
else
31-
echo "has_doc_changes=false" >> $GITHUB_OUTPUT
32-
fi
33-
34-
- uses: Swatinem/rust-cache@v2
35-
if: steps.check-docs.outputs.has_doc_changes == 'true'
36-
with:
37-
cache-all-crates: true
38-
39-
- name: Run cargo doc
40-
if: steps.check-docs.outputs.has_doc_changes == 'true'
41-
run: cargo doc --no-deps
42-
4316
clippy:
4417
name: Clippy Check
4518
runs-on: ubuntu-latest-16-cores

0 commit comments

Comments
 (0)