aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/rust.yml
diff options
context:
space:
mode:
authorLibravatar vallentin <mail@vallentin.dev>2021-01-01 19:26:12 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2021-01-01 20:06:32 +0100
commitc29ecd68714bddf5e27a9e347c902faa23b2a545 (patch)
tree4bad80b60f06dd771123b098e7de2e349019f5e6 /.github/workflows/rust.yml
parentc12b79b315a4ae4cdbd8ba135ebb3eff5377e94b (diff)
downloadaskama-c29ecd68714bddf5e27a9e347c902faa23b2a545.tar.gz
askama-c29ecd68714bddf5e27a9e347c902faa23b2a545.tar.bz2
askama-c29ecd68714bddf5e27a9e347c902faa23b2a545.zip
Changed multi-line commands to single-line commands
Diffstat (limited to '.github/workflows/rust.yml')
-rw-r--r--.github/workflows/rust.yml35
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