Skip to content

Bump actions/checkout from 4.2.0 to 4.2.1 #66

Bump actions/checkout from 4.2.0 to 4.2.1

Bump actions/checkout from 4.2.0 to 4.2.1 #66

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/checkout@v4.2.1
- 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/swiftly-action@v0.1
with:
toolchain: ${{ matrix.swift }}
env:
SWIFTLY_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v4.2.1
- name: Cache Swift PM
uses: actions/cache@v4.0.2
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