Skip to content

Commit d89fc6d

Browse files
committed
Manual cherry-pick of Add support for GitHub Actions apple#301 from main.
1 parent 8b28aba commit d89fc6d

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

.github/workflows/pull_request.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Pull request
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened, synchronize]
6+
7+
jobs:
8+
tests:
9+
name: Test
10+
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
11+
soundness:
12+
name: Soundness
13+
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
14+
with:
15+
license_header_check_project_name: "Swift Numerics"
16+
# https://github.com/apple/swift-numerics/issues/303
17+
license_header_check_enabled: false
18+
# https://github.com/apple/swift-numerics/issues/302
19+
format_check_enabled: false

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Swift Numerics uses GitHub issues to track bugs and features. We use pull reques
8484
1. Raise an issue with the [new module] tag.
8585
2. Raise a PR with an implementation sketch.
8686
3. Once you have some consensus, ask an admin to create a feature branch against which PRs can be raised.
87-
4. When the design has stabilized and is functional enough to be useful, raise a PR to merge the new module to master.
87+
4. When the design has stabilized and is functional enough to be useful, raise a PR to merge the new module to main.
8888

8989
### How to propose a new feature for an existing module
9090

Sources/RealModule/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,5 @@ Not having this protocol is a significant missing feature for numerical computin
7373

7474
[ErrorFunction]: https://en.wikipedia.org/wiki/Error_function
7575
[GammaFunction]: https://en.wikipedia.org/wiki/Gamma_function
76-
[SE-0246]: https://github.com/apple/swift-evolution/blob/master/proposals/0246-mathable.md
76+
[SE-0246]: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0246-mathable.md
7777
[Sigmoid]: https://en.wikipedia.org/wiki/Sigmoid_function

0 commit comments

Comments
 (0)