Skip to content

Remove 'CloseMode' Enum for ami Tests #630

Remove 'CloseMode' Enum for ami Tests

Remove 'CloseMode' Enum for ami Tests #630

Workflow file for this run

name: Swift lint and format
on:
workflow_dispatch:
push:
branches: ["main"]
paths:
- "swift/**"
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
paths:
- "swift/**"
jobs:
swift-format:
name: Swift Format & Lint
runs-on: macos-14
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install swift-format
run: brew install swift-format
- name: swift-format Format
working-directory: swift
run: swift-format . --recursive --configuration .swift-format.json
- name: swift-format Lint
working-directory: swift
run: swift-format lint . --recursive --strict --configuration .swift-format.json