Skip to content

Commit fc53bf6

Browse files
fix: CI/CDパイプラインのキャッシュ依存関係の設定を修正
- キャッシュ依存関係のステップを移動し、重複を削除しました。 - キャッシュの設定を整理し、可読性を向上させました。
1 parent a97a0d4 commit fc53bf6

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,17 @@ jobs:
3232
echo "key=$CACHE_KEY" >> $GITHUB_OUTPUT
3333
echo "Cache key: $CACHE_KEY"
3434
35+
- name: Cache dependencies
36+
uses: actions/cache@v4
37+
with:
38+
path: |
39+
~/.asdf
40+
~/.cache/pip
41+
~/.cache/uv
42+
~/.cargo
43+
~/.local/bin
44+
key: ${{ steps.cache-key.outputs.key }}
45+
3546
- name: Setup asdf
3647
uses: asdf-vm/actions/setup@v4
3748

@@ -46,17 +57,6 @@ jobs:
4657
curl -LsSf https://astral.sh/uv/install.sh | sh
4758
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
4859
49-
- name: Cache dependencies
50-
uses: actions/cache@v4
51-
with:
52-
path: |
53-
~/.asdf
54-
~/.cache/pip
55-
~/.cache/uv
56-
~/.cargo
57-
~/.local/bin
58-
key: ${{ steps.cache-key.outputs.key }}
59-
6060
- name: Install Python dependencies
6161
run: |
6262
uv sync --dev

0 commit comments

Comments
 (0)