Skip to content

Swift CLI in CI

Swift CLI in CI #49

Workflow file for this run

name: Swift
on:
pull_request:
branches: [ "develop", "main" ]
jobs:
build:
runs-on: macos-14
steps:
- uses: swift-actions/setup-swift@v1
with:
swift-version: '5.8'
- uses: actions/checkout@v4
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: SwiftLint
uses: raphaelbussa/swiftlint-action@main
with:
subcommand: lint --strict