Skip to content

Commit cd4aeed

Browse files
authored
improve CI; bump to 4.0.3 (#95)
1 parent 9622f0a commit cd4aeed

File tree

4 files changed

+18
-34
lines changed

4 files changed

+18
-34
lines changed

.github/workflows/main.yml

+12-32
Original file line numberDiff line numberDiff line change
@@ -8,49 +8,29 @@ on:
88
- main
99

1010
jobs:
11-
test_msrv:
12-
name: test on MSRV
11+
build_msrv:
12+
name: build on MSRV
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/[email protected]
16-
- uses: actions-rs/[email protected]
17-
with:
18-
# When toolchain is not specified, it uses rust-toolchain, which is the MSRV
19-
override: true
20-
- uses: actions-rs/[email protected]
21-
with:
22-
command: test
23-
args: --all-features
15+
- uses: actions/[email protected]
16+
- uses: dtolnay/[email protected]
17+
- run: cargo build --all-features
2418

2519
test_nightly:
2620
name: test on nightly
2721
runs-on: ubuntu-latest
2822
steps:
29-
- uses: actions/checkout@master
30-
# Because we use nightly features for building docs,
31-
# using --all-features will fail without nightly toolchain.
32-
- uses: actions-rs/[email protected]
33-
with:
34-
toolchain: nightly
35-
override: true
36-
- uses: actions-rs/[email protected]
37-
with:
38-
command: test
39-
args: --all-features
23+
- uses: actions/[email protected]
24+
- uses: dtolnay/rust-toolchain@nightly
25+
- run: cargo test --all-features
4026

4127
build_no_std:
4228
name: build with no_std
4329
runs-on: ubuntu-latest
4430
steps:
45-
- uses: actions/checkout@v3.5.3
46-
- uses: actions-rs/toolchain@v1.0.7
31+
- uses: actions/checkout@v4.0.0
32+
- uses: dtolnay/rust-toolchain@master
4733
with:
4834
toolchain: stable
49-
override: true
50-
# This does not support std, so we use to test if no_std works
51-
target: thumbv6m-none-eabi
52-
- uses: actions-rs/[email protected]
53-
with:
54-
command: build
55-
# Disables std feature
56-
args: --no-default-features --target thumbv6m-none-eabi
35+
targets: thumbv6m-none-eabi
36+
- run: cargo build --no-default-features --target thumbv6m-none-eabi

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
Entries are listed in reverse chronological order.
44

5+
# 4.0.3
6+
7+
* Update `curve25519-dalek` to `4.1.0`
8+
59
# 4.0.2
610

711
* Update `curve25519-dalek` to `4.0.0`

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
name = "ed25519-zebra"
33
# Before publishing:
44
# - update CHANGELOG.md
5-
version = "4.0.2"
5+
# - ensure MSRV below (rust-version) and in main.yml are the same
6+
version = "4.0.3"
67
rust-version = "1.65.0"
78
authors = ["Henry de Valence <[email protected]>", "Zcash Foundation <[email protected]>"]
89
license = "MIT OR Apache-2.0"

rust-toolchain

-1
This file was deleted.

0 commit comments

Comments
 (0)