From b56c11639f9ea5ef1354a1e91ca98541a16bca9b Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 28 Jan 2020 21:26:13 +0100 Subject: Move Actix-Web integration into separate askama_actix crate --- .github/workflows/rust.yml | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1377b3e..a6da4c6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -29,11 +29,10 @@ jobs: - uses: actions-rs/cargo@v1 with: command: build - args: --workspace --all-targets + args: --all-targets - uses: actions-rs/cargo@v1 with: command: test - args: --workspace stable-integrations: runs-on: ubuntu-latest @@ -48,6 +47,20 @@ jobs: cd testing cargo test --features full + Actix-Web: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + components: clippy + - run: | + cargo test --package askama_actix --all-targets + cargo clippy --package askama_actix --all-targets -- -D warnings + nightly: runs-on: ubuntu-latest steps: @@ -71,12 +84,6 @@ jobs: toolchain: stable override: true components: rustfmt, clippy - - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check - - uses: actions-rs/cargo@v1 - if: always() - with: - command: clippy - args: --workspace --all-targets -- -D warnings + - run: | + cargo fmt --all -- --check + cargo clippy --all-targets -- -D warnings -- cgit