Skip to content

Day 7

Day 7 #98

Workflow file for this run

name: Test
on:
push:
branches: [main]
paths:
- '.github/workflows/test.yml'
- 'Package*'
- 'Sources/**/*.swift'
- 'Tests/**/*.swift'
pull_request:
paths:
- '.github/workflows/test.yml'
- 'Package*'
- 'Sources/**/*.swift'
- 'Tests/**/*.swift'
jobs:
test:
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: .build
key: ${{ runner.os }}-spm-${{ hashFiles('Package.*') }}
restore-keys: |
${{ runner.os }}-spm-
- name: Run Tests
run: swift test --parallel