Skip to content

Commit 0496226

Browse files
committed
chore: standardize CI cache key formatting
Update cache restore-keys to use proper YAML multiline format with pipe character for consistency across all jobs. This aligns with CI standard formatting conventions.
1 parent afbd1e7 commit 0496226

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ jobs:
6464
with:
6565
path: .build
6666
key: ${{ runner.os }}-spm-${{ hashFiles('Package.swift') }}
67-
restore-keys: ${{ runner.os }}-spm-
67+
restore-keys: |
68+
${{ runner.os }}-spm-
6869
6970
# Note: swift test builds automatically in release mode
7071
- name: Test (release)
@@ -84,7 +85,8 @@ jobs:
8485
with:
8586
path: .build
8687
key: ${{ runner.os }}-swift60-spm-${{ hashFiles('Package.swift') }}
87-
restore-keys: ${{ runner.os }}-swift60-spm-
88+
restore-keys: |
89+
${{ runner.os }}-swift60-spm-
8890
8991
# Note: swift test builds automatically
9092
- name: Test (Swift 6.0)

0 commit comments

Comments
 (0)