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