fix: keep indentation when no box glyphs #82
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: ["*"] | |
| pull_request: | |
| jobs: | |
| lint-build-test: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Select Xcode 26.1.1 (if present) or fallback to default | |
| run: | | |
| set -euo pipefail | |
| for candidate in /Applications/Xcode_26.1.1.app /Applications/Xcode_26.1.app /Applications/Xcode.app; do | |
| if [[ -d "$candidate" ]]; then | |
| sudo xcode-select -s "$candidate" | |
| echo "DEVELOPER_DIR=${candidate}/Contents/Developer" >> "$GITHUB_ENV" | |
| break | |
| fi | |
| done | |
| /usr/bin/xcodebuild -version | |
| - name: Install Swift 6.2 toolchain | |
| run: | | |
| curl -L https://download.swift.org/swift-6.2-release/xcode/swift-6.2-RELEASE/swift-6.2-RELEASE-osx.pkg -o /tmp/swift.pkg | |
| sudo installer -pkg /tmp/swift.pkg -target / | |
| echo "/Library/Developer/Toolchains/swift-6.2-RELEASE.xctoolchain/usr/bin" >> "$GITHUB_PATH" | |
| echo "TOOLCHAINS=swift-6.2-RELEASE" >> "$GITHUB_ENV" | |
| - name: Install lint tools | |
| run: brew install swiftlint swiftformat | |
| - name: SwiftFormat (lint) | |
| run: swiftformat Sources Tests --lint | |
| - name: SwiftLint | |
| run: swiftlint --strict | |
| - name: Swift Test | |
| run: swift test --parallel |