From 4d4e2ff049c041ed87935fc1219cfcb1b09c254a Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Sun, 28 Jan 2024 04:26:59 +0000 Subject: [PATCH] CI: Migrate to `cargo-tarpaulin` container --- .github/workflows/ci.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73cee86..a9f573c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,16 +38,23 @@ jobs: codecov: name: Code coverage runs-on: ubuntu-latest + container: + image: xd009642/tarpaulin:develop-nightly + options: --security-opt seccomp=unconfined + steps: - uses: actions/checkout@v4 - name: Install build dependencies run: sudo apt install libpcsclite-dev - - name: Install coverage dependencies - run: cargo install cargo-tarpaulin - name: Generate coverage report - run: cargo tarpaulin --engine llvm --all-features --release --timeout 600 --out Xml + run: > + cargo tarpaulin + --engine llvm + --release + --timeout 600 + --out xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3.1.1 + uses: codecov/codecov-action@v3.1.5 doc-links: name: Intra-doc links