Skip to content

Commit 33acc79

Browse files
authored
Add soundness workflows (apple#701)
Adds CI for the following checks: - YAML lint - Python lint - Unacceptable language - Broken symlinks - API breakages In the future the following checks will be added: - Documentation - License headers - Formatting - Shell check
1 parent aefbb6e commit 33acc79

File tree

4 files changed

+25
-1
lines changed

4 files changed

+25
-1
lines changed

.editorconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
trim_trailing_whitespace = true
7+
insert_final_newline = true

.github/workflows/lint.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Pull request
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened, synchronize]
6+
7+
jobs:
8+
soundness:
9+
name: Soundness
10+
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
11+
with:
12+
docs_check_enabled: false # bug: https://github.com/apple/swift-argument-parser/issues/704
13+
format_check_enabled: false # bug: https://github.com/apple/swift-argument-parser/issues/702
14+
license_header_check_enabled: false # feature: https://github.com/swiftlang/github-workflows/issues/78
15+
license_header_check_project_name: "Swift Argument Parser" # bug: https://github.com/swiftlang/github-workflows/issues/76
16+
shell_check_enabled: false # bug: https://github.com/apple/swift-argument-parser/issues/703

.spi.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ version: 1
22
builder:
33
configs:
44
- documentation_targets: [ArgumentParser]
5-

.unacceptablelanguageignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Ignore this file which references the "master" branch of another repo
2+
Tools/generate-manual/MDoc/MDocMacro.swift

0 commit comments

Comments
 (0)