Skip to content

Add GitHub workflows #1

Add GitHub workflows

Add GitHub workflows #1

Workflow file for this run

name: Lint
on:
pull_request:
paths:
- .github/workflows/lint.yml
- .swift-format
- "**/*.swift"
push:
paths:
- .github/workflows/lint.yml
- .swift-format
- "**/*.swift"
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
container:
image: swift:6.2
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Swift Version
run: swift --version
- name: Swift Format Lint
run: swift format lint -r .