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

Install components and integrate rustfmt checks.

This commit is contained in:
Nolan Darilek 2020-11-17 16:22:14 -06:00
parent d5f92565e5
commit 2f0ced4eaf

View File

@ -20,11 +20,16 @@ jobs:
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy
override: true
- uses: actions-rs/cargo@v1
with:
command: check
args: --all-features --examples
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
@ -41,11 +46,16 @@ jobs:
target: wasm32-unknown-unknown
profile: minimal
toolchain: stable
components: rustfmt, clippy
override: true
- uses: actions-rs/cargo@v1
with:
command: check
args: --all-features --examples --target wasm32-unknown-unknown
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all --target wasm32-unknown-unknown -- --check
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}