diff --git a/.github/workflows/rust-checks.yml b/.github/workflows/rust-checks.yml index e0983f2..42f1097 100644 --- a/.github/workflows/rust-checks.yml +++ b/.github/workflows/rust-checks.yml @@ -42,3 +42,23 @@ jobs: run: cargo fmt --check - name: Code Lint run: cargo clippy -- -D warnings + + check-all-features: + runs-on: ubuntu-latest + steps: + - uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: xorg-dev libxcb-shape0-dev libxcb-xfixes0-dev + version: 1.0 + - uses: actions/checkout@v3 + - name: Rust cache + uses: Swatinem/rust-cache@v2 + with: + shared-key: 'kolezanka' + - name: Install cargo-all-features + run: cargo install cargo-all-features + - name: Build all features + run: cargo build-all-features --verbose + - name: Test all features + run: cargo test-all-features --verbose +