mirror of
https://github.com/aljazceru/cdk.git
synced 2026-01-04 13:35:20 +01:00
Rust docs (#681)
This commit is contained in:
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@@ -410,3 +410,20 @@ jobs:
|
||||
uses: Swatinem/rust-cache@v2
|
||||
- name: Run doc tests
|
||||
run: nix develop -i -L .#stable --command cargo test --doc
|
||||
|
||||
strict-docs:
|
||||
name: "Strict Documentation Check"
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
needs: doc-tests
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@v11
|
||||
- name: Nix Cache
|
||||
uses: DeterminateSystems/magic-nix-cache-action@v6
|
||||
- name: Rust Cache
|
||||
uses: Swatinem/rust-cache@v2
|
||||
- name: Check docs with strict warnings
|
||||
run: nix develop -i -L .#stable --command just docs-strict
|
||||
|
||||
Reference in New Issue
Block a user