File tree 3 files changed +410
-398
lines changed
3 files changed +410
-398
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,26 @@ inputs:
25
25
runs :
26
26
using : " composite"
27
27
steps :
28
+ - name : Cache Cargo
29
+ uses : actions/cache@v3
30
+ with :
31
+ # these represent dependencies downloaded by cargo
32
+ # and thus do not depend on the OS, arch nor rust version.
33
+ #
34
+ # source https://github.com/actions/cache/blob/main/examples.md#rust---cargo
35
+ path : |
36
+ /usr/local/cargo/bin/
37
+ /usr/local/cargo/registry/index/
38
+ /usr/local/cargo/registry/cache/
39
+ /usr/local/cargo/git/db/
40
+ key : cargo-cache3-
41
+ - name : Cache Rust dependencies
42
+ uses : actions/cache@v3
43
+ with :
44
+ # these represent compiled steps of both dependencies and arrow
45
+ # and thus are specific for a particular OS, arch and rust version.
46
+ path : /github/home/target
47
+ key : ${{ runner.os }}-${{ runner.arch }}-target-cache3-${{ inputs.rust-version }}-
28
48
- name : Install Build Dependencies
29
49
shell : bash
30
50
run : |
37
57
rustup toolchain install ${{ inputs.rust-version }}
38
58
rustup default ${{ inputs.rust-version }}
39
59
rustup component add rustfmt
60
+ echo "CARGO_TARGET_DIR=/github/home/target" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 15
15
# specific language governing permissions and limitations
16
16
# under the License.
17
17
18
- name : Rust
18
+ name : MIRI
19
19
20
20
on :
21
21
# always trigger
You can’t perform that action at this time.
0 commit comments