Skip to content

Replaced swiftLanguageVersions with swiftLanguageModes for Swift 6 onwards #12

Replaced swiftLanguageVersions with swiftLanguageModes for Swift 6 onwards

Replaced swiftLanguageVersions with swiftLanguageModes for Swift 6 onwards #12

Workflow file for this run

name: Run tests
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- '**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
run-tests-macos:
name: Run tests (macOS)
runs-on: macos-14
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: swift package resolve
- name: Run tests
run: swift test
run-tests-linux:
name: Run tests (Linux)
runs-on: ubuntu-20.04
container: swift:5.9-jammy
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: swift package resolve
- name: Run tests
run: swift test