-
Notifications
You must be signed in to change notification settings - Fork 26
37 lines (31 loc) · 1.01 KB
/
lint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Lint
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
# on:
# pull_request:
# types: [opened, reopened, synchronize]
jobs:
validate_format_config:
name: Validate Format Config
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install apt dependencies
run: apt-get -qq update && apt-get -qq -y install curl
- name: Compare against swift-mmio swift-format config
run: |
curl -sL https://raw.githubusercontent.com/apple/swift-mmio/refs/heads/main/SupportingFiles/Tools/swift-format/.swift-format -o .swift-format-mmio
diff .swift-format .swift-format-mmio
soundness:
name: Soundness
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
with:
api_breakage_check_enabled: false
docs_check_enabled: false
license_header_check_enabled: false
license_header_check_project_name: ""
unacceptable_language_check_enabled: false