35 lines
842 B
YAML
Raw Normal View History

name: x25519 Rust
2021-09-13 21:54:44 +00:00
on:
push:
2023-01-29 04:29:44 -05:00
branches: [ '**' ]
paths: 'x25519-dalek/**'
2021-09-13 21:54:44 +00:00
pull_request:
2023-01-29 04:29:44 -05:00
branches: [ '**' ]
paths: 'x25519-dalek/**'
defaults:
run:
working-directory: x25519-dalek
2021-09-13 21:54:44 +00:00
env:
CARGO_TERM_COLOR: always
2023-03-12 13:16:01 +11:00
RUSTFLAGS: '-D warnings'
RUSTDOCFLAGS: '-D warnings'
2021-09-13 21:54:44 +00:00
jobs:
2023-03-12 13:16:01 +11:00
msrv:
name: Current MSRV is 1.60.0
2021-09-13 21:54:44 +00:00
runs-on: ubuntu-latest
steps:
2023-03-12 13:16:01 +11:00
- 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: dtolnay/rust-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/rust-toolchain@1.60.0
- run: cargo build