File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 51
51
uses : actions/checkout@v4
52
52
with :
53
53
repository : athenavm/athena
54
- ref : rust-commit-hash
55
54
path : athena
56
55
57
56
- name : Get Rust commit
60
59
echo "Using Rust commit: $RUST_COMMIT"
61
60
echo "RUST_COMMIT=$RUST_COMMIT" >> $GITHUB_ENV
62
61
62
+ # This is a shortcut to allow caching. If we don't manually check out Rust here,
63
+ # the Athena CLI tool will refuse to check it out since the cache will have
64
+ # already restored files into the same directory.
65
+ # This command won't check out submodules recursively. The cache restore will do
66
+ # this for us, saving time.
67
+ - name : Check out Rust toolchain
68
+ uses : actions/checkout@v4
69
+ with :
70
+ repository : rust-lang/rust
71
+ ref : ${{ env.RUST_COMMIT }}
72
+ path : toolchain/rust
73
+
63
74
- uses : actions/cache@v4
64
75
name : Cache Athena build
65
76
with :
You can’t perform that action at this time.
0 commit comments