diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2020-01-28 21:26:13 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2020-01-29 09:25:59 +0100 |
commit | b56c11639f9ea5ef1354a1e91ca98541a16bca9b (patch) | |
tree | 11933ea82d131d0b1efe64aed64ce1705f6f7d0a /.github/workflows | |
parent | 9026f616e620426535bf095848fe355e25911d62 (diff) | |
download | askama-b56c11639f9ea5ef1354a1e91ca98541a16bca9b.tar.gz askama-b56c11639f9ea5ef1354a1e91ca98541a16bca9b.tar.bz2 askama-b56c11639f9ea5ef1354a1e91ca98541a16bca9b.zip |
Move Actix-Web integration into separate askama_actix crate
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/rust.yml | 29 |
1 files changed, 18 insertions, 11 deletions
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 |