Skip to content

Commit

Permalink
add SPM cache
Browse files Browse the repository at this point in the history
  • Loading branch information
gereons committed Oct 5, 2024
1 parent f5493fe commit 506e868
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,16 @@ jobs:
runs-on: macos-14
steps:
- uses: actions/checkout@v4

- 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: Test
run: swift test --filter "AoCTests.Day.*Tests/testDay.*_part[12]\(\)"

0 comments on commit 506e868

Please sign in to comment.