Skip to content

Commit 01765b7

Browse files
committed
ci(github): proper syntax/structure for cache declarations in custom actions
1 parent 8b60bbb commit 01765b7

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/actions/setup-rust-poetry/action.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,21 @@ name: setup Rust and Poetry
22
runs:
33
using: composite
44
steps:
5+
56
- name: Cargo cache
67
uses: actions/cache/@v4
78
with:
89
path: "~/.cargo"
9-
key: ${{ runner.os }}-cargo
10+
key: ${{ runner.os }}-cargo
11+
1012
- name: Poetry cache
1113
uses: actions/cache/@v4
1214
with:
1315
path: "~/.cache/pypoetry"
14-
key: ${{ runner.os }}-poetry-${{ inputs.python }}
15-
restore-keys: |
16-
${{ runner.os }}-poetry-
16+
key: ${{ runner.os }}-poetry-${{ inputs.python }}
17+
restore-keys: |
18+
${{ runner.os }}-poetry-
19+
1720
- name: install Rust and Poetry
1821
shell: bash
1922
run : |

0 commit comments

Comments
 (0)