Skip to content

Commit

Permalink
ci: only one job for clippy and rustdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Feb 24, 2024
1 parent e045c66 commit 60044ae
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,26 +76,14 @@ jobs:
# TODO: we'll eventually want to check the whole workspace with --workspace
# TODO: we'll eventually want to check relevant feature combinations
# TODO: we may want to use --no-deps as well
- uses: clechasseur/rs-clippy-check@v3
- name: clippy
uses: clechasseur/rs-clippy-check@v3
with:
args: --verbose --locked -p riot-rs-embassy

rustdoc:
runs-on: ubuntu-latest

steps:
- name: Check out repository code
uses: actions/checkout@v4

- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly

- name: rust cache
uses: Swatinem/rust-cache@v2

# TODO: we'll eventually want to generate docs for riot-rs instead
# TODO: we'll eventually want to enable relevant features
- name: "rustdoc generation check"
- name: "rustdoc"
run: cargo rustdoc -p riot-rs-embassy -- -D warnings

CI-success:
Expand Down

0 comments on commit 60044ae

Please sign in to comment.