improve CI; bump to 4.0.3 (#95)
This commit is contained in:
parent
9622f0a784
commit
cd4aeed1a2
|
@ -8,49 +8,29 @@ on:
|
|||
- main
|
||||
|
||||
jobs:
|
||||
test_msrv:
|
||||
name: test on MSRV
|
||||
build_msrv:
|
||||
name: build on MSRV
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.3
|
||||
- uses: actions-rs/toolchain@v1.0.7
|
||||
with:
|
||||
# When toolchain is not specified, it uses rust-toolchain, which is the MSRV
|
||||
override: true
|
||||
- uses: actions-rs/cargo@v1.0.3
|
||||
with:
|
||||
command: test
|
||||
args: --all-features
|
||||
- uses: actions/checkout@v4.0.0
|
||||
- uses: dtolnay/rust-toolchain@1.65.0
|
||||
- run: cargo build --all-features
|
||||
|
||||
test_nightly:
|
||||
name: test on nightly
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
# Because we use nightly features for building docs,
|
||||
# using --all-features will fail without nightly toolchain.
|
||||
- uses: actions-rs/toolchain@v1.0.7
|
||||
with:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
- uses: actions-rs/cargo@v1.0.3
|
||||
with:
|
||||
command: test
|
||||
args: --all-features
|
||||
- uses: actions/checkout@v4.0.0
|
||||
- uses: dtolnay/rust-toolchain@nightly
|
||||
- run: cargo test --all-features
|
||||
|
||||
build_no_std:
|
||||
name: build with no_std
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.3
|
||||
- uses: actions-rs/toolchain@v1.0.7
|
||||
- uses: actions/checkout@v4.0.0
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
# This does not support std, so we use to test if no_std works
|
||||
target: thumbv6m-none-eabi
|
||||
- uses: actions-rs/cargo@v1.0.3
|
||||
with:
|
||||
command: build
|
||||
# Disables std feature
|
||||
args: --no-default-features --target thumbv6m-none-eabi
|
||||
targets: thumbv6m-none-eabi
|
||||
- run: cargo build --no-default-features --target thumbv6m-none-eabi
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
Entries are listed in reverse chronological order.
|
||||
|
||||
# 4.0.3
|
||||
|
||||
* Update `curve25519-dalek` to `4.1.0`
|
||||
|
||||
# 4.0.2
|
||||
|
||||
* Update `curve25519-dalek` to `4.0.0`
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
name = "ed25519-zebra"
|
||||
# Before publishing:
|
||||
# - update CHANGELOG.md
|
||||
version = "4.0.2"
|
||||
# - ensure MSRV below (rust-version) and in main.yml are the same
|
||||
version = "4.0.3"
|
||||
rust-version = "1.65.0"
|
||||
authors = ["Henry de Valence <hdevalence@hdevalence.ca>", "Zcash Foundation <zebra@zfnd.org>"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
1.70.0
|
Loading…
Reference in New Issue