Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
CI: split clippy jobs
Browse files Browse the repository at this point in the history
as we can't run clippy with --all-features & we can't specify --features
at workspace level, workaround it for now till we can re-use --all-features again
  • Loading branch information
bilelmoussaoui committed Nov 19, 2020
1 parent ee8edd3 commit a7ed4eb
Showing 1 changed file with 53 additions and 5 deletions.
58 changes: 53 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,13 +235,61 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
toolchain: stable
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features --all-targets -- -D warnings

- working-directory: atk
name: atk
run: cargo clippy --features "v2_34" --all-targets -- -D warnings

- working-directory: cairo
name: cairo
run: cargo clippy --features "cairo/png,pdf,svg,ps,use_glib,v1_16,freetype,script,xcb,xlib,win32-surface" --all-targets -- -D warnings

- working-directory: examples
name: examples
run: cargo clippy --all-features --all-targets -- -D warnings

- working-directory: gdk
name: gdk
run: cargo clippy --features "v3_24" --all-targets -- -D warnings

- working-directory: gdk-pixbuf
name: gdk-pixbuf
run: cargo clippy --features "v2_40" --all-targets -- -D warnings

- working-directory: gdkx11
name: gdkx11
run: cargo clippy --features "v3_24" --all-targets -- -D warnings

- working-directory: gio
name: gio
run: cargo clippy --features "v2_66" --all-targets -- -D warnings

- working-directory: glib
name: glib
run: cargo clippy --features "v2_66" --all-targets -- -D warnings

- working-directory: glib-macros
name: glib-macros
run: cargo clippy --all-targets -- -D warnings

- working-directory: graphene
name: graphene
run: cargo clippy --features "v1_10" --all-targets -- -D warnings

- working-directory: gtk
name: gtk
run: cargo clippy --features "v3_24_9" --all-targets -- -D warnings

- working-directory: pango
name: pango
run: cargo clippy --features "v1_46" --all-targets -- -D warnings

- working-directory: pangocairo
name: pangocairo
run: cargo clippy --all-targets -- -D warnings

checker:
name: gtk-rs checker
Expand Down

0 comments on commit a7ed4eb

Please sign in to comment.