Skip to content

Commit 0e939e7

Browse files
authored
Enable remaining soundness checks (#254)
Adds the documentation and license header checks. Resolves #251.
1 parent 66ae806 commit 0e939e7

File tree

4 files changed

+41
-5
lines changed

4 files changed

+41
-5
lines changed

.github/workflows/pull_request.yml

-5
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,3 @@ jobs:
2525
soundness:
2626
name: Soundness
2727
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
28-
with:
29-
license_header_check_project_name: "Swift.org"
30-
license_header_check_enabled: false
31-
# https://github.com/apple/swift-algorithms/issues/251
32-
docs_check_enabled: false

.license_header_template

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@@===----------------------------------------------------------------------===@@
2+
@@
3+
@@ This source file is part of the Swift Algorithms open source project
4+
@@
5+
@@ Copyright (c) YEARS Apple Inc. and the Swift project authors
6+
@@ Licensed under Apache License v2.0 with Runtime Library Exception
7+
@@
8+
@@ See https://swift.org/LICENSE.txt for license information
9+
@@
10+
@@===----------------------------------------------------------------------===@@

.licenseignore

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
.gitignore
2+
**/.gitignore
3+
.licenseignore
4+
.gitattributes
5+
.git-blame-ignore-revs
6+
.mailfilter
7+
.mailmap
8+
.spi.yml
9+
.swift-format
10+
.editorconfig
11+
.github/*
12+
*.md
13+
*.mdoc
14+
*.txt
15+
*.yml
16+
*.yaml
17+
*.json
18+
*.png
19+
*.bash
20+
*.cmake
21+
*.cmake.in
22+
Package.swift
23+
**/Package.swift
24+
Package@*.swift
25+
**/Package@*.swift
26+
Package.resolved
27+
**/Package.resolved
28+
.unacceptablelanguageignore
29+
**/Snapshots/*
30+
Xcode/*

Sources/Algorithms/Trim.swift

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//
88
// See https://swift.org/LICENSE.txt for license information
99
//
10+
//===----------------------------------------------------------------------===//
1011

1112
//===----------------------------------------------------------------------===//
1213
// trimmingPrefix(while:)

0 commit comments

Comments
 (0)