diff --git a/.github/workflows/codecov.yaml b/.github/workflows/codecov.yaml index 219a9ee..00efe03 100644 --- a/.github/workflows/codecov.yaml +++ b/.github/workflows/codecov.yaml @@ -17,9 +17,17 @@ jobs: uses: actions/checkout@v2 - name: Set up Rust - uses: ATiltedTree/setup-rust@v1.0.5 + uses: actions-rs/toolchain@v1 with: - rust-version: stable + toolchain: stable + + - name: Cache Rust dependencies + uses: actions/cache@v2 + with: + path: ~/.cargo + key: rust-deps-${{ hashFiles('**/Cargo.lock') }} + restore-keys: | + rust-deps- - name: Install Dependencies run: cargo build --verbose @@ -35,4 +43,3 @@ jobs: uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} # Add your Codecov token as a secret -