Cache packages

This commit is contained in:
Sven Weidauer 2020-12-30 14:22:56 +01:00
parent 87c52e97f6
commit 0de2e94d57

View file

@ -11,5 +11,17 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: Cache Swift packages
uses: actions/cache@v2
env:
cache-name: cache-swift-packages
with:
path:
- .build/checkouts
- .build/repositories
- .build/workspace-state.json
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('Package.resolved') }}
- name: Run tests
run: swift test