Skip to content

Initial version of custom separators #60

Initial version of custom separators

Initial version of custom separators #60

# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: Multi-platform Tests
on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
check-macro-compatibility:
name: Check Macro Compatibility
runs-on: macos-15
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run Swift Macro Compatibility Check
uses: Matejkob/swift-macro-compatibility-check@v1
with:
run-tests: true
major-versions-only: true
macos-15-sequoia-swift-test:
name: macOS 15 sequoia Swift tests
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Build
run: swift build -v
- name: Run swift tests
run: swift test -v
macos-14-sonoma-swift-test:
name: macOS 14 Sonoma swift tests
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Build
run: swift build -v
- name: Run swift tests
run: swift test -v
ubuntu-swift-test:
name: latest Ubuntu swift tests
runs-on: ubuntu-latest
steps:
- uses: swift-actions/setup-swift@v2
- uses: actions/checkout@v4
- name: Build
run: swift --version
run: swift build -v

Check failure on line 55 in .github/workflows/multiplatform-tests.yml

View workflow run for this annotation

GitHub Actions / Multi-platform Tests

Invalid workflow file

The workflow is not valid. .github/workflows/multiplatform-tests.yml (Line: 55, Col: 7): 'run' is already defined
- name: Run swift tests
run: swift test -v