Skip to content

Commit b22d409

Browse files
Merge branch 'master' into test-testing-action
2 parents 45e4dd3 + 6663367 commit b22d409

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/run-all-tests.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,26 @@ jobs:
1515
with:
1616
swift-version: "6.1"
1717

18+
- name: Restore Build Cache
19+
id: cache-build-restore
20+
uses: actions/cache/restore@v4
21+
with:
22+
key: tests-deploy-cache-${{ hashFiles('Package.resolved') }}
23+
path: .build
24+
1825
- name: Run All Tests
1926
uses: GetAutomaApp/opensource-actions/swifttesting@main
2027
with:
2128
compose: "true"
2229
docker_compose_extra_args: "--scale swift_web_driver=0 --scale build=0 --scale test=0 --scale shell=0"
2330
required_healthy_services_docker_compose: '["httpd", "selenium"]'
2431
swift_test_extra_args: "-Xswiftc -warnings-as-errors"
32+
- name: Save Build Cache
33+
id: cache-build-save
34+
uses: actions/cache/save@v4
35+
with:
36+
path: .build
37+
key: ${{ steps.cache-build-restore.outputs.cache-primary-key }}
2538

2639
env:
2740
PATH: "/usr/local/bin:/usr/bin:/bin"

0 commit comments

Comments
 (0)