From e694077ed2616cba263b336b942d2a53212dc593 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Fri, 14 Oct 2022 12:28:58 +0200 Subject: Refactor workflows to split work --- .github/workflows/main.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d87d27a..55f1aee 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,7 +3,7 @@ on: - pull_request - push jobs: - stable: + main: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -13,8 +13,22 @@ jobs: components: rustfmt, clippy - run: cargo fmt --check && cargo clippy --examples --tests --benches - run: cargo test + coverage: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable - run: cargo install cargo-tarpaulin && cargo tarpaulin --out Xml - uses: codecov/codecov-action@v3 + site: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable - run: cargo doc --no-deps --release - run: echo 'Redirecting…

Redirecting…

Click here if you are not redirected.' > target/doc/index.html - name: Deploy -- cgit