Bump MSRV to 1.60.0 #16
Workflow file for this run
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": ["push", "pull_request"], | |
"jobs": { | |
"build": { | |
"runs-on": "ubuntu-latest", | |
"steps": [ | |
{ "uses": "actions/checkout@v1" }, | |
{ | |
"uses": "actions-rs/toolchain@v1", | |
"with": { | |
"toolchain": "stable", | |
"override": true, | |
"profile": "minimal" | |
} | |
}, | |
{ | |
"uses": "actions-rs/cargo@v1", | |
"with": { "command": "build", "args": "--all-targets --all-features" } | |
} | |
] | |
}, | |
"check-32bit": { | |
"runs-on": "ubuntu-latest", | |
"steps": [ | |
{ "uses": "actions/checkout@v1" }, | |
{ | |
"uses": "actions-rs/toolchain@v1", | |
"with": { | |
"toolchain": "stable", | |
"override": true, | |
"profile": "minimal", | |
"target": "riscv32i-unknown-none-elf", | |
} | |
}, | |
{ | |
"uses": "actions-rs/cargo@v1", | |
"with": { "command": "check", "args": "--target=riscv32i-unknown-none-elf" } | |
} | |
] | |
}, | |
"check-msrv": { | |
"runs-on": "ubuntu-latest", | |
"steps": [ | |
{ "uses": "actions/checkout@v1" }, | |
{ | |
"uses": "actions-rs/toolchain@v1", | |
"with": { | |
"toolchain": "1.60.0", | |
"override": true, | |
"profile": "minimal" | |
} | |
}, | |
{ | |
"uses": "actions-rs/cargo@v1", | |
"with": { "command": "check", "args": "--all-features" } | |
} | |
] | |
}, | |
"test": { | |
"runs-on": "ubuntu-latest", | |
"steps": [ | |
{ "uses": "actions/checkout@v1" }, | |
{ | |
"uses": "actions-rs/toolchain@v1", | |
"with": { | |
"toolchain": "stable", | |
"override": true, | |
"profile": "minimal" | |
} | |
}, | |
{ | |
"uses": "actions-rs/cargo@v1", | |
"with": { "command": "test", "args": "--all-features" } | |
} | |
] | |
}, | |
"miri": { | |
"runs-on": "ubuntu-latest", | |
"steps": [ | |
{ "uses": "actions/checkout@v1" }, | |
{ | |
"uses": "actions-rs/toolchain@v1", | |
"with": { | |
"toolchain": "nightly", | |
"override": true, | |
"components": "miri" | |
} | |
}, | |
{ | |
"uses": "actions-rs/cargo@v1", | |
"with": { "command": "miri", "args": "test --all-features" }, | |
"env": { | |
"RUSTFLAGS": "-Zrandomize-layout", | |
"MIRIFLAGS": "-Zmiri-strict-provenance -Zmiri-symbolic-alignment-check" | |
} | |
} | |
] | |
}, | |
"rustfmt": { | |
"runs-on": "ubuntu-latest", | |
"steps": [ | |
{ "uses": "actions/checkout@v1" }, | |
{ | |
"uses": "actions-rs/toolchain@v1", | |
"with": { | |
"toolchain": "stable", | |
"override": true, | |
"components": "rustfmt" | |
} | |
}, | |
{ | |
"uses": "actions-rs/cargo@v1", | |
"with": { "command": "fmt", "args": "--check" } | |
} | |
] | |
} | |
} | |
} |