mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-09-13 05:55:22 +00:00
build,ci: specify MSRV and setup CI
This commit is contained in:
parent
59a8851b32
commit
10c1ad5170
6 changed files with 15 additions and 11 deletions
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
|
@ -47,7 +47,8 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
rust: [stable, beta]
|
||||
# NB: Sync MSRV with Cargo.toml!
|
||||
rust: [stable, beta, "1.88"]
|
||||
name: Test ${{ matrix.rust }}
|
||||
# Need libsqlite3-dev >= 3.38.0 (2022-02-22)
|
||||
runs-on: ubuntu-24.04
|
||||
|
@ -64,7 +65,7 @@ jobs:
|
|||
|
||||
- name: Install Rust ${{ matrix.rust }}
|
||||
run: |
|
||||
rustup update --no-self-update ${{ matrix.rust }}
|
||||
rustup update --no-self-update
|
||||
rustup default ${{ matrix.rust }}
|
||||
|
||||
- name: Disable webapi tests on stable rustc
|
||||
|
@ -80,9 +81,8 @@ jobs:
|
|||
- name: Test
|
||||
run: cargo test --workspace --all-targets
|
||||
|
||||
# WAIT: Next release of `criterion` for `--include-ignored`.
|
||||
- name: Test ignored
|
||||
run: cargo test --workspace --all-targets -- --ignored
|
||||
run: cargo test --workspace --all-targets -- --ignored-ignored
|
||||
|
||||
nix-flake:
|
||||
name: Flake package
|
||||
|
|
|
@ -7,6 +7,11 @@ members = [
|
|||
]
|
||||
default-members = ["blahd"]
|
||||
|
||||
[workspace.package]
|
||||
edition = "2024"
|
||||
# NB: Sync MSRV with CI!
|
||||
rust-version = "1.88" # let_chains
|
||||
|
||||
[workspace.lints.clippy]
|
||||
allow_attributes_without_reason = "warn"
|
||||
dbg_macro = "warn"
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
[package]
|
||||
name = "blah-types"
|
||||
version = "0.0.0"
|
||||
edition = "2024"
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
[features]
|
||||
default = ["ed25519-dalek/default"]
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
[package]
|
||||
name = "blahctl"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1"
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
[package]
|
||||
name = "blahd"
|
||||
version = "0.0.0"
|
||||
edition = "2024"
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
[features]
|
||||
default = []
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[toolchain]
|
||||
channel = "1.85"
|
||||
profile = "default"
|
||||
components = ["llvm-tools"]
|
Loading…
Add table
Add a link
Reference in a new issue