This GitHub action installs the Rust toolchain specified in the specified toolchain file (rust-toolchain.toml)
using dtolnay/rust-toolchain
and yq.
- uses: mkroening/rust-toolchain-toml@main
with:
# Path to the toolchain file.
# Default: rust-toolchain.toml
toolchain-file: ''
name: test suite
on: [push, pull_request]
jobs:
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: mkroening/rust-toolchain-toml@main
- run: cargo test --all-features
The scripts and documentation in this project are released under the MIT License.