Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve CI; bump to 4.0.3 #95

Merged
merged 1 commit into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 12 additions & 32 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
- uses: actions-rs/[email protected]
with:
# When toolchain is not specified, it uses rust-toolchain, which is the MSRV
override: true
- uses: actions-rs/[email protected]
with:
command: test
args: --all-features
- uses: actions/[email protected]
- uses: dtolnay/[email protected]
- 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/[email protected]
with:
toolchain: nightly
override: true
- uses: actions-rs/[email protected]
with:
command: test
args: --all-features
- uses: actions/[email protected]
- 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/[email protected]
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>", "Zcash Foundation <[email protected]>"]
license = "MIT OR Apache-2.0"
Expand Down
1 change: 0 additions & 1 deletion rust-toolchain

This file was deleted.