File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 32
32
if : steps.changes.outputs.src == 'true'
33
33
with :
34
34
components : clippy,rustfmt
35
+
36
+ - name : Restore cached Cargo
37
+ id : cache-restore
38
+ if : steps.changes.outputs.src == 'true'
39
+ uses : actions/cache/restore@v4
40
+ with :
41
+ path : |
42
+ ~/.cargo/bin/
43
+ ~/.cargo/registry/index/
44
+ ~/.cargo/registry/cache/
45
+ ~/.cargo/git/db/
46
+ target/
47
+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
35
48
36
49
- name : Build
37
50
if : steps.changes.outputs.src == 'true'
56
69
if : steps.changes.outputs.src == 'true'
57
70
run : |
58
71
cargo clippy --all-targets
72
+
73
+ - name : Save Cargo / Rust Cache
74
+ id : cache-save
75
+ if : steps.changes.outputs.src == 'true'
76
+ uses : actions/cache/save@v4
77
+ with :
78
+ path : |
79
+ ~/.cargo/bin/
80
+ ~/.cargo/registry/index/
81
+ ~/.cargo/registry/cache/
82
+ ~/.cargo/git/db/
83
+ target/
84
+ key : ${{ steps.cache-restore.outputs.cache-primary-key }}
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " geekorm-core"
3
- description = " GeekORM core library "
3
+ description = " GeekORM Core Library "
4
4
5
5
version.workspace = true
6
6
categories.workspace = true
You can’t perform that action at this time.
0 commit comments