Skip to content

Update to use SPM library #84

Update to use SPM library

Update to use SPM library #84

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
name: "Test"
runs-on: macos-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v2
- name: Check cache for Swift dependencies
uses: actions/cache@v2
with:
path: .build
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
- name: Build
run: swift build
- name: Run tests
run: swift test --build-path PROJECT_DIR