Disable default-features on Linux since runners don't have speech-dispatcher 0.10 or greater.

This commit is contained in:
Nolan Darilek 2022-03-10 13:57:05 -06:00
parent ef0a78c745
commit f275e506df
1 changed files with 8 additions and 2 deletions

View File

@ -26,10 +26,16 @@ jobs:
with:
command: check
args: --all-features --examples
if: ${{ runner.os != 'Linux' }}
- uses: actions-rs/cargo@v1
with:
command: check
args: --no-default-features --examples
if: ${{ runner.os == 'Linux' }}
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
args: --all --check
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
@ -55,7 +61,7 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
args: --all --check
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}