Skip to content

Commit

Permalink
ci: test MSRV and minimal versions; also fix thiserror min version (#624
Browse files Browse the repository at this point in the history
)
  • Loading branch information
conradoplg authored Jun 11, 2024
1 parent 9e19bc9 commit a7ab035
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,20 @@ jobs:
with:
command: build

build_msrv:
name: build with MSRV (1.66.1)
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4.1.1
# Re-resolve Cargo.lock with minimal versions
- uses: dtolnay/rust-toolchain@nightly
- run: cargo update -Z minimal-versions
# Now check that `cargo build` works with respect to the oldest possible
# deps and the stated MSRV
- uses: dtolnay/rust-toolchain@1.66.1
- run: cargo build --all-features

build_all_features:
name: build with all features combinations
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion frost-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ postcard = { version = "1.0.0", features = ["use-std"], optional = true }
rand_core = "0.6"
serde = { version = "1.0.160", features = ["derive"], optional = true }
serdect = { version = "0.2.0", optional = true }
thiserror = "1.0"
thiserror = "1.0.29"
visibility = "0.1.0"
zeroize = { version = "1.5.4", default-features = false, features = ["derive"] }
itertools = "0.13.0"
Expand Down

0 comments on commit a7ab035

Please sign in to comment.