Skip to content

Commit

Permalink
Update CI to support workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
stphnt committed Jun 14, 2024
1 parent e69c396 commit c440e5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
sudo apt install libudev-dev
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo check --all-features
- run: cargo check --all-features --workspace

test:
name: Test Suite
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- run: cargo fmt
- run: cargo fmt --check --all

clippy:
name: Clippy
Expand All @@ -64,7 +64,7 @@ jobs:
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --all-features
- run: cargo clippy --all-features --workspace

spelling:
name: Spell Check
Expand All @@ -89,4 +89,4 @@ jobs:
with:
components: rust-docs
- uses: Swatinem/rust-cache@v2
- run: cargo doc --no-deps --all-features
- run: cargo doc --no-deps --all-features --workspace
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
sudo apt update
sudo apt install libudev-dev
- uses: dtolnay/rust-toolchain@stable
- run: cargo publish --all-features --locked --verbose
- run: cargo publish --all-features --locked --verbose -p zproto
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit c440e5b

Please sign in to comment.