1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 18:37:41 +02:00

migrate to doc_auto_cfg

This commit is contained in:
Rob Ede
2023-04-09 19:41:57 +01:00
parent 111d95eaea
commit f37c93a2a8
11 changed files with 25 additions and 41 deletions

View File

@ -1,12 +1,9 @@
# disabled because `cargo tarpaulin` currently segfaults
name: Coverage
on:
push: { branches: [master] }
permissions:
contents: read # to fetch code (actions/checkout)
permissions: { contents: read }
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@ -26,20 +23,15 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install stable
run: |
rustup override set stable
rustup update stable
- name: Generate Cargo.lock
run: cargo generate-lockfile
- name: Cache Dependencies
uses: Swatinem/rust-cache@v2.1.0
- name: Install Rust (nightly)
uses: actions-rust-lang/setup-rust-toolchain@v1
with: { toolchain: nightly }
- name: Generate coverage file
run: |
cargo install cargo-tarpaulin --vers "^0.13"
cargo tarpaulin --workspace --out Xml --verbose
- name: Upload to Codecov
uses: codecov/codecov-action@v3
with: { file: cobertura.xml }