Skip to content

Strict Concurrency Support #36

Strict Concurrency Support

Strict Concurrency Support #36

Workflow file for this run

name: Test
on:
workflow_call:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
jobs:
unit_tests:
name: Run Tests
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache dependencies
uses: actions/cache@v3
with:
path: .build
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
- name: Build
run: swift build
- name: Run tests
run: swift test