18 lines
522 B
YAML
Raw Normal View History

2022-05-07 22:13:13 +02:00
name: rust
on: [push, pull_request]
2022-03-31 21:44:48 +02:00
jobs:
build:
2022-05-18 14:32:12 +02:00
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
runs-on: ${{ matrix.os }}
2022-03-31 21:44:48 +02:00
steps:
2022-06-01 21:00:57 +02:00
- uses: actions/checkout@v3
2022-05-07 22:13:13 +02:00
- run: rustup update stable
2022-06-01 21:00:57 +02:00
- run: rustup component add rustfmt
- run: rustup component add clippy
2022-05-07 22:13:13 +02:00
- run: cargo test --all-features
- run: cargo fmt --all -- --check
- run: cargo clippy --all-features --all-targets -- --deny warnings
2022-06-01 21:13:25 +02:00
- run: cargo build --all-features