Add build checks

This commit is contained in:
Rishabh Das 2024-12-29 00:42:17 +05:30
parent 80676aa242
commit 4e024372b7

View file

@ -3,6 +3,17 @@ name: Checks
on: [push, pull_request]
jobs:
check:
name: Check for build failures
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
- run:
cargo check --all --no-default-features --features="ntex/compio,ntex/cookie,ntex/url,ntex/compress,ntex/openssl,ntex/rustls,ntex/ws,ntex/brotli"
clippy:
name: Clippy
runs-on: ubuntu-latest