Fix cache path. Also build

This commit is contained in:
Sven Weidauer 2020-12-30 14:27:02 +01:00
parent 0de2e94d57
commit 390c588026

View file

@ -14,14 +14,15 @@ jobs:
- name: Cache Swift packages - name: Cache Swift packages
uses: actions/cache@v2 uses: actions/cache@v2
env:
cache-name: cache-swift-packages
with: with:
path: path: |
- .build/checkouts .build/checkouts
- .build/repositories .build/repositories
- .build/workspace-state.json .build/workspace-state.json
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('Package.resolved') }} key: ${{ runner.os }}-${{ hashFiles('Package.resolved') }}
- name: Build
run: swift build
- name: Run tests - name: Run tests
run: swift test run: swift test