Skip to content

Commit

Permalink
ci: improve ci speed
Browse files Browse the repository at this point in the history
  • Loading branch information
sunng87 committed Oct 25, 2022
1 parent 0afa413 commit f6121c7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,17 @@ jobs:
toolchain: ${{ matrix.rust }}
components: clippy
override: true
- name: Lint
run: cargo clippy --all-features -- -D warnings
- name: Build and run tests
run: cargo test --all-features
- name: Install Tarpaulin
if: matrix.build == 'stable'
uses: actions-rs/install@v0.1
with:
crate: cargo-tarpaulin
version: 0.22.0
use-tool-cache: true
- name: Lint
run: cargo clippy --all-features -- -D warnings
- name: Build and run tests
run: cargo test --all-features
- name: Coverage
if: matrix.build == 'stable'
run: cargo tarpaulin --all-features -o Lcov --output-dir ./coverage
Expand Down

0 comments on commit f6121c7

Please sign in to comment.