Documentation extraction and publishing #852
Workflow file for this run
This file contains 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: Format check | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- "Docs/**" | |
- "**.md" | |
- "README.md" | |
- "LICENSE" | |
- ".gitignore" | |
pull_request: | |
branches: [ "**" ] | |
paths-ignore: | |
- "Docs/**" | |
- "**.md" | |
- "README.md" | |
- "LICENSE" | |
- ".gitignore" | |
jobs: | |
build: | |
name: Format check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- run: git config --global core.autocrlf input | |
- name: Setup swift | |
uses: swift-actions/setup-swift@v1 | |
with: | |
swift-version: "5.8" | |
- name: Swift version | |
run: swift --version | |
- name: Check code format | |
run: Tools/run-swift-format.sh -d lint |