Skip to content

swift: add swift docs #6

swift: add swift docs

swift: add swift docs #6

name: "[Swift] Code Quality"
on: [push]
jobs:
swift-cq:
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
swift: ["6.0.2"]
defaults:
run:
working-directory: ./swift
runs-on: ${{ matrix.os }}
steps:
- uses: swift-actions/setup-swift@ad7d41288211dee63936d63f92e3d153b8f9224e
with:
swift-version: ${{ matrix.swift }}
- uses: actions/checkout@v4
- name: Lint
run: swift format lint --configuration swift-format.json --strict --recursive .