Cache packages
This commit is contained in:
parent
87c52e97f6
commit
0de2e94d57
1 changed files with 12 additions and 0 deletions
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
|
@ -11,5 +11,17 @@ jobs:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- 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
|
- name: Run tests
|
||||||
run: swift test
|
run: swift test
|
||||||
|
|
Loading…
Add table
Reference in a new issue