Skip to content

add SPM cache

add SPM cache #5

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
DEVELOPER_DIR: /Applications/Xcode_16.0.app/Contents/Developer
jobs:
build:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v2
with:

Check failure on line 19 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 19, Col: 12): Unexpected value '' .github/workflows/build.yml (Line: 20, Col: 7): Unexpected value 'path'
path: .build
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
- name: Build
run: swift build
- name: Test
run: swift test --filter "AoCTests.Day.*Tests/testDay.*_part[12]\(\)"