ci: build, clippy for all features
This commit is contained in:
@@ -31,7 +31,7 @@ jobs:
|
|||||||
image: archlinux
|
image: archlinux
|
||||||
steps:
|
steps:
|
||||||
- name: Install Packages
|
- name: Install Packages
|
||||||
run: pacman -Syu git rust clang gcc libarchive pkgconf --noconfirm --needed
|
run: pacman -Syu git rust clang gcc libarchive pkgconf apt --noconfirm --needed
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -40,10 +40,10 @@ jobs:
|
|||||||
run: cargo fmt -- --check
|
run: cargo fmt -- --check
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --locked --features arch
|
run: cargo build --locked --features arch,debian
|
||||||
|
|
||||||
- name: Clippy
|
- name: Clippy
|
||||||
run: cargo clippy -- -Dwarnings
|
run: cargo clippy --features arch,debian -- -Dwarnings
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cargo test --workspace
|
run: cargo test --workspace
|
||||||
|
|||||||
Reference in New Issue
Block a user