Skip to content

0.5.3: MSRV=1.60, Edition=2021, explicit features, doc_auto_cfg, Clippy #60

0.5.3: MSRV=1.60, Edition=2021, explicit features, doc_auto_cfg, Clippy

0.5.3: MSRV=1.60, Edition=2021, explicit features, doc_auto_cfg, Clippy #60

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
fmt-and-test:
name: Test and check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: beta
override: true
components: rustfmt
- name: Rustfmt check
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Test
run: |
cargo test
cargo test --all-features
cargo test --no-default-features --lib --tests
cargo test --no-default-features --features libm
test:
name: Test MSRV
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: "1.60.0"
override: true
- name: Cargo.lock.msrv
run: cp Cargo.lock.msrv Cargo.lock
- name: Test
run: |
cargo test
cargo test --all-features
cargo test --no-default-features --lib --tests
cargo test --no-default-features --features libm