Skip to content

Commit 69e9161

Browse files
authored
Enable yamllint (#49)
Motivation: More CI is better Modifications: Enable yamllint with overridden config. Result: Any yaml added will be checked
1 parent fb4436c commit 69e9161

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.github/workflows/pull_request.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ jobs:
1010
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
1111
with:
1212
license_header_check_project_name: "SwiftAsyncDNSResolver"
13-
yamllint_check_enabled: false
1413
api_breakage_check_enabled: false
1514

1615
unit-tests:

.licenseignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ docker/*
1111
.gitmodules
1212
.editorconfig
1313
Sources/CAsyncDNSResolver/c-ares
14+
.yamllint.yml

.yamllint.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
ignore: |
2+
Sources/CAsyncDNSResolver/c-ares/
3+
.cirrus.yml
4+
5+
extends: default
6+
7+
rules:
8+
line-length: false
9+
document-start: false
10+
truthy:
11+
check-keys: false # Otherwise we get a false positive on GitHub action's `on` key

0 commit comments

Comments
 (0)