Skip to content

Commit

Permalink
Use cargo hack for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenzV committed Mar 30, 2024
1 parent 948c590 commit 2da27d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@cargo-hack
- run: cargo clippy --all-targets
- run: cargo fmt --check --all
- run: cargo doc --workspace --no-deps
- run: cargo hack check --each-feature -p svg2pdf
- run: cargo hack check --each-feature -p svg2pdf-cli
4 changes: 3 additions & 1 deletion src/util/helper.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
use pdf_writer::types::{BlendMode, LineCapStyle, LineJoinStyle, MaskType};
use pdf_writer::{Content, Name, Rect};
use usvg::{LineCap, LineJoin, NonZeroRect, Size, Transform};
use usvg::{LineCap, LineJoin, NonZeroRect, Transform};
#[cfg(feature = "image")]
use usvg::Size;

use crate::render::gradient::Stop;

Expand Down

0 comments on commit 2da27d4

Please sign in to comment.