From 4f1324411cf7b82257bea669fefe904ad181cf64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9o=20Rebert?= Date: Thu, 13 Jan 2022 18:15:14 +0100 Subject: [PATCH] Update rust.yml --- .github/workflows/rust.yml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b066c00..d213ac9 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -11,25 +11,28 @@ env: jobs: build: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v2 - name: Build - run: cargo build --verbose --all-features + run: cargo build --all-features - - name: Install stable toolchain - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Test + run: cargo test --all-features + coverage: + runs-on: ubuntu-latest + steps: - name: Run cargo-tarpaulin - uses: actions-rs/tarpaulin@v0.1 + - uses: actions/checkout@v2 + - uses: actions-rs/tarpaulin@v0.1 with: version: '0.19.0' - args: --all-features --verbose --out=Xml + args: --all-features --out=Xml - name: Upload to codecov.io uses: codecov/codecov-action@v2