diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/rust.yml | 35 |
1 files changed, 14 insertions, 21 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b239130..4d83bac 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -45,9 +45,8 @@ jobs: profile: minimal toolchain: stable override: true - - run: | - cargo test --package askama_actix --all-targets - cargo clippy --package askama_actix --all-targets -- -D warnings + - run: cargo test --package askama_actix --all-targets + - run: cargo clippy --package askama_actix --all-targets -- -D warnings Gotham: runs-on: ubuntu-latest @@ -59,9 +58,8 @@ jobs: toolchain: stable override: true components: clippy - - run: | - cargo test --package askama_gotham --all-targets - cargo clippy --package askama_gotham --all-targets -- -D warnings + - run: cargo test --package askama_gotham --all-targets + - run: cargo clippy --package askama_gotham --all-targets -- -D warnings Iron: runs-on: ubuntu-latest @@ -73,9 +71,8 @@ jobs: toolchain: stable override: true components: clippy - - run: | - cargo test --package askama_iron --all-targets - cargo clippy --package askama_iron --all-targets -- -D warnings + - run: cargo test --package askama_iron --all-targets + - run: cargo clippy --package askama_iron --all-targets -- -D warnings Rocket: runs-on: ubuntu-latest @@ -87,9 +84,8 @@ jobs: toolchain: nightly override: true components: clippy - - run: | - cargo test --package askama_rocket --all-targets - cargo clippy --package askama_rocket --all-targets -- -D warnings + - run: cargo test --package askama_rocket --all-targets + - run: cargo clippy --package askama_rocket --all-targets -- -D warnings Warp: runs-on: ubuntu-latest @@ -101,9 +97,8 @@ jobs: toolchain: stable override: true components: clippy - - run: | - cargo test --package askama_warp --all-targets - cargo clippy --package askama_warp --all-targets -- -D warnings + - run: cargo test --package askama_warp --all-targets + - run: cargo clippy --package askama_warp --all-targets -- -D warnings Tide: runs-on: ubuntu-latest @@ -115,9 +110,8 @@ jobs: toolchain: stable override: true components: clippy - - run: | - cargo test --package askama_tide --all-targets - cargo clippy --package askama_tide --all-targets -- -D warnings + - run: cargo test --package askama_tide --all-targets + - run: cargo clippy --package askama_tide --all-targets -- -D warnings Lint: runs-on: ubuntu-latest @@ -129,6 +123,5 @@ jobs: toolchain: stable override: true components: rustfmt, clippy - - run: | - cargo fmt --all -- --check - cargo clippy --all-targets -- -D warnings + - run: cargo fmt --all -- --check + - run: cargo clippy --all-targets -- -D warnings |