diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e4be523..cd61d99 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -16,6 +16,7 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: swatinem/rust-cache@v2 - name: Build run: cargo build --verbose - name: Run tests @@ -26,6 +27,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: swatinem/rust-cache@v2 - name: Build-examples run: cargo build --examples --verbose @@ -34,6 +36,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: swatinem/rust-cache@v2 - uses: dtolnay/rust-toolchain@master with: toolchain: 1.65.0 @@ -45,6 +48,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: swatinem/rust-cache@v2 - uses: dtolnay/rust-toolchain@master with: toolchain: 1.65.0