Remove duplicated step from CI workflow
@@ -44,17 +44,11 @@ jobs:
profile: minimal
override: true
- - name: Install ${{ matrix.version }}
- uses: actions-rs/toolchain@v1
- with:
- toolchain: ${{ matrix.version }}-${{ matrix.target.triple }}
- profile: minimal
- override: true
-
- name: Generate Cargo.lock
uses: actions-rs/cargo@v1
with:
command: generate-lockfile
+
- name: Cache Dependencies
uses: Swatinem/rust-cache@v1.2.0
@@ -102,6 +96,7 @@ jobs:
run: |
cargo install cargo-tarpaulin --vers "^0.13"
cargo tarpaulin --out Xml --verbose
+
- name: Upload to Codecov
if: >
matrix.target.os == 'ubuntu-latest'
