diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 15dcd784..e401d2ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,8 +36,5 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install rust ${{ env.minrust }} - uses: dtolnay/rust-toolchain@master - with: - toolchain: ${{ env.minrust }} - - run: cargo build + - uses: taiki-e/install-action@cargo-hack + - run: cargo hack --rust-version --no-dev-deps check --workspace diff --git a/headers-core/Cargo.toml b/headers-core/Cargo.toml index 60ecec29..a7aad04d 100644 --- a/headers-core/Cargo.toml +++ b/headers-core/Cargo.toml @@ -8,6 +8,7 @@ homepage = "https://hyper.rs" repository = "https://github.com/hyperium/headers" authors = ["Sean McArthur "] keywords = ["http", "headers", "hyper", "hyperium"] +rust-version = "1.49" [dependencies] http = "1.0.0"