Skip to content

Commit 8f48b91

Browse files
committed
ci: add Linux cache to improve build performance
1 parent b7fd6f3 commit 8f48b91

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ jobs:
6565
container: swift:6.2
6666
steps:
6767
- uses: actions/checkout@v5
68+
- name: Cache Swift packages
69+
uses: actions/cache@v4
70+
with:
71+
path: .build
72+
key: ${{ runner.os }}-spm-${{ hashFiles('Package.resolved') }}
73+
restore-keys: ${{ runner.os }}-spm-
6874
- name: Build
6975
run: swift build
7076
- name: Run tests

0 commit comments

Comments
 (0)