File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments