Skip to content

Commit

Permalink
improve CI; bump to 4.0.3 (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
conradoplg authored Sep 11, 2023
1 parent 9622f0a commit cd4aeed
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 34 deletions.
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.

0 comments on commit cd4aeed

Please sign in to comment.