diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 24841b1..5ebb111 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -15,6 +15,7 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: Swatinem/rust-cache@v2 with: submodules: "recursive" @@ -23,14 +24,6 @@ jobs: sudo apt-get update sudo apt-get install -y protobuf-compiler - - name: Cache - uses: actions/cache@v1.2.1 - with: - # A directory to store and save the cache - path: ./target - # An explicit key for restoring and saving the cache - key: ${{ runner.os }}-build-${{ env.cache-name }} - - name: Build run: cargo build --verbose if: ${{ success() }}