Skip to content

Bump actions/cache from 4.0.2 to 4.1.1 #68

Bump actions/cache from 4.0.2 to 4.1.1

Bump actions/cache from 4.0.2 to 4.1.1 #68

Workflow file for this run

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