|
60 | 60 | steps: |
61 | 61 | - uses: actions/checkout@v2 |
62 | 62 | - uses: actions-rs/toolchain@v1 |
63 | | - - uses: Swatinem/rust-cache@v1 |
| 63 | + # Enable caching of the 'librocksdb-sys' crate by additionally caching the |
| 64 | + # 'librocksdb-sys' src directory which is managed by cargo |
| 65 | + - uses: bmwill/rust-cache@v1 # Fork of 'Swatinem/rust-cache' which allows caching additional paths |
| 66 | + with: |
| 67 | + path: ~/.cargo/registry/src/**/librocksdb-sys-* |
64 | 68 | - name: cargo test |
65 | 69 | uses: actions-rs/cargo@v1 |
66 | 70 | with: |
|
76 | 80 | - uses: actions-rs/toolchain@v1 |
77 | 81 | with: |
78 | 82 | components: clippy |
79 | | - - uses: Swatinem/rust-cache@v1 |
| 83 | + # Enable caching of the 'librocksdb-sys' crate by additionally caching the |
| 84 | + # 'librocksdb-sys' src directory which is managed by cargo |
| 85 | + - uses: bmwill/rust-cache@v1 # Fork of 'Swatinem/rust-cache' which allows caching additional paths |
| 86 | + with: |
| 87 | + path: ~/.cargo/registry/src/**/librocksdb-sys-* |
80 | 88 | - name: cargo clippy |
81 | 89 | uses: actions-rs/cargo@v1 |
82 | 90 | with: |
@@ -112,7 +120,11 @@ jobs: |
112 | 120 | steps: |
113 | 121 | - uses: actions/checkout@v2 |
114 | 122 | - uses: actions-rs/toolchain@v1 |
115 | | - - uses: Swatinem/rust-cache@v1 |
| 123 | + # Enable caching of the 'librocksdb-sys' crate by additionally caching the |
| 124 | + # 'librocksdb-sys' src directory which is managed by cargo |
| 125 | + - uses: bmwill/rust-cache@v1 # Fork of 'Swatinem/rust-cache' which allows caching additional paths |
| 126 | + with: |
| 127 | + path: ~/.cargo/registry/src/**/librocksdb-sys-* |
116 | 128 | - name: Install cargo-udeps, and cache the binary |
117 | 129 | uses: baptiste0928/cargo-install@v1 |
118 | 130 | with: |
|
0 commit comments