Update the CI steps.

This commit is contained in:
Dimitri Sabadie 2020-03-16 16:44:18 +01:00
parent f04ea0fefa
commit dfa1e6a745
No known key found for this signature in database
GPG Key ID: 23CDFD7CAFBA2EDC

View File

@ -13,7 +13,6 @@ jobs:
run: |
cargo test --verbose --all-features
build-windows:
runs-on: windows-latest
steps:
@ -40,11 +39,16 @@ jobs:
. ~/.cargo/env
cargo test --verbose --all-features
check-readme:
quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install cargo-sync-readme
run: cargo install --force cargo-sync-readme
- name: Check
run: cargo sync-readme -c
- name: Install dependencies
run: |
cargo install --force cargo-sync-readme
rustup component add rustfmt
- name: cargo sync-readme
run: |
cargo sync-readme -c
- name: rustfmt
run: cargo fmt -- --check