Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
Maksym Pavlenko 2021-08-30 12:53:23 -07:00
parent cab9ec91ea
commit 61c06528d9
3 changed files with 7 additions and 4 deletions

View File

@ -15,13 +15,10 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: true
- run: rustup update stable
- run: rustup component add rustfmt clippy
- run: |
sudo apt-get update -y
sudo apt-get install -y libsystemd-dev
- run: cargo check
- run: cargo check --examples --tests --all-targets
- run: cargo fmt --all -- --check --files-with-diff
- run: cargo clippy --all-targets --all-features -- -D warnings
- run: cargo test --all-features
- run: cargo build --examples --tests --all-targets

View File

@ -18,3 +18,6 @@ The build process as easy as:
```bash
cargo build --release
```
## Minimum supported Rust version (MSRV)
The minimum supported version of Rust is `1.52`

3
rust-toolchain.toml Normal file
View File

@ -0,0 +1,3 @@
[toolchain]
channel = "1.52"
components = ["rustfmt", "clippy"]