Bump actions/cache from 4.0.2 to 4.1.1 #68
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
soundness: | |
name: Soundness Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Bootstrap Mint | |
uses: irgaly/setup-mint@v1 | |
- name: Run soundness | |
run: | | |
scripts/soundness.sh | |
exit $(git status --porcelain | wc -l) | |
unit-test: | |
name: Unit Test | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
swift: [5.9, latest] | |
steps: | |
- name: Install Swift | |
uses: vapor/[email protected] | |
with: | |
toolchain: ${{ matrix.swift }} | |
env: | |
SWIFTLY_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Cache Swift PM | |
uses: actions/[email protected] | |
with: | |
path: .build | |
key: ${{ runner.os }}-${{ matrix.swift }}-spm-${{ hashFiles('Package.swift') }} | |
restore-keys: ${{ runner.os }}-${{ matrix.swift }}-spm- | |
- name: Resolve Swift dependencies | |
run: swift package resolve | |
- name: Run Unit Tests | |
run: swift test --parallel |