diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a348b5e..79ecb36 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,15 @@ jobs: run: | sudo apt-get install protobuf-compiler - uses: actions/checkout@v2 + - uses: actions/cache@v3 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + target/ + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - uses: actions-rs/toolchain@v1 with: toolchain: stable @@ -22,4 +31,4 @@ jobs: redis: image: redis ports: - - 6379:6379 \ No newline at end of file + - 6379:6379