bump curve25519-dalek to 4.0 (#91) #192
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test_msrv: | |
name: test 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 | |
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 | |
build_no_std: | |
name: build with no_std | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions-rs/[email protected] | |
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 |