Add build checks (#491)

This commit is contained in:
metent 2024-12-30 18:35:48 +05:30 committed by GitHub
parent a049a05c33
commit 48702413f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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