Skip to content

Run Swiftlint + Tests #23

Run Swiftlint + Tests

Run Swiftlint + Tests #23

Workflow file for this run

name: Run Swiftlint + Tests
on:
# Run on push to main branch
push:
# Dispatch if triggered using Github (website)
workflow_dispatch:
jobs:
swiftlint:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: SwiftLint
run: |
brew install swiftlint
swiftlint --reporter github-actions-logging --strict
test_macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Swift test
run: swift test