mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-03 21:07:39 +03:00
Cache tarpaulin (#7)
* cache tarpaulin * add rustfmt and clippy gh actions * add test timeout * fix clippy warnings * disable code cov for macros * adjst tarpaulin * adjust tarpaulin
This commit is contained in:
parent
cb4df30a86
commit
6f9c6aabea
7 changed files with 89 additions and 52 deletions
7
.github/workflows/linux.yml
vendored
7
.github/workflows/linux.yml
vendored
|
@ -48,6 +48,13 @@ jobs:
|
|||
path: target
|
||||
key: ${{ matrix.version }}-x86_64-unknown-linux-gnu-cargo-build-trimmed-${{ hashFiles('**/Cargo.lock') }}
|
||||
|
||||
- name: Cache cargo tarpaulin
|
||||
if: matrix.version == 'stable' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request')
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.cargo/bin/cargo-tarpaulin
|
||||
key: ${{ matrix.version }}-x86_64-unknown-linux-gnu-tarpaulin
|
||||
|
||||
- name: check build
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue