ffplayout/.github/workflows/rust.yml
2022-06-01 21:20:01 +02:00

18 lines
522 B
YAML

name: rust
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- run: rustup update stable
- run: rustup component add rustfmt
- run: rustup component add clippy
- run: cargo test --all-features
- run: cargo fmt --all -- --check
- run: cargo clippy --all-features --all-targets -- --deny warnings
- run: cargo build --all-features