diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec128f83..ed30643f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,11 +19,21 @@ jobs: profile: minimal override: true components: rustfmt, clippy + - uses: actions-rs/cargo@v1.0.1 + name: Check format + with: + command: fmt + args: --all -- --check + - uses: actions-rs/cargo@v1.0.1 + name: Run clippy + with: + command: clippy + args: --all-targets --locked -- -D warnings - uses: actions-rs/cargo@v1.0.1 name: Run clippy (All features) with: command: clippy - args: --all-targets --locked --all-features + args: --all-targets --locked --all-features -- -D warnings - uses: actions-rs/cargo@v1.0.1 name: Run tests with: