Skip to content

Commit

Permalink
cache linux builds
Browse files Browse the repository at this point in the history
  • Loading branch information
grdsdev committed Sep 30, 2024
1 parent b0bd408 commit 0817fb7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ jobs:
- uses: swift-actions/setup-swift@v2
with:
swift-version: ${{ matrix.swift-version }}
- name: Cache derived data
uses: actions/cache@v3
with:
path: |
~/.build
key: |
${{ runner.os }-spm-linux-${{ matrix.swift-verion }}-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift', '**/Package.resolved') }}
restore-keys: |
${{ runner.os }-spm-linux-${{ matrix.swift-verion }}-
- run: make dot-env
- name: Run tests
run: swift test --skip IntegrationTests
Expand Down

0 comments on commit 0817fb7

Please sign in to comment.