1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-17 07:29:38 +00:00

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

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 }}