enable CI #6
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: ed25519 Rust | |
on: | |
push: | |
branches: [ '**' ] | |
paths: 'ed25519-dalek/**' | |
pull_request: | |
branches: [ '**' ] | |
paths: 'ed25519-dalek/**' | |
defaults: | |
run: | |
working-directory: ed25519-dalek | |
env: | |
CARGO_TERM_COLOR: always | |
RUSTFLAGS: '-D warnings' | |
RUSTDOCFLAGS: '-D warnings' | |
jobs: | |
msrv: | |
name: Current MSRV is 1.60.0 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# Now run `cargo +nightly -Z minimal-verisons check` in order to get a | |
# Cargo.lock with the oldest possible deps | |
- uses: risc0/risc0/.github/actions/rustup | |
- env: | |
INPUT_TOOLCHAIN: 'nightly' | |
- run: cargo -Z minimal-versions check --no-default-features --features serde | |
# Now check that `cargo build` works with respect to the oldest possible | |
# deps and the stated MSRV | |
- uses: dtolnay/[email protected] | |
- run: cargo build |