diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml new file mode 100644 index 00000000..a92c6416 --- /dev/null +++ b/.github/workflows/pull_request.yml @@ -0,0 +1,19 @@ +name: Pull request + +on: + pull_request: + types: [opened, reopened, synchronize] + +jobs: + tests: + name: Test + uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main + soundness: + name: Soundness + uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main + with: + license_header_check_project_name: "Swift Numerics" + # https://github.com/apple/swift-numerics/issues/303 + license_header_check_enabled: false + # https://github.com/apple/swift-numerics/issues/302 + format_check_enabled: false diff --git a/README.md b/README.md index fc76b27e..73e62e6e 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ Swift Numerics uses GitHub issues to track bugs and features. We use pull reques 1. Raise an issue with the [new module] tag. 2. Raise a PR with an implementation sketch. 3. Once you have some consensus, ask an admin to create a feature branch against which PRs can be raised. -4. When the design has stabilized and is functional enough to be useful, raise a PR to merge the new module to master. +4. When the design has stabilized and is functional enough to be useful, raise a PR to merge the new module to main. ### How to propose a new feature for an existing module diff --git a/Sources/RealModule/README.md b/Sources/RealModule/README.md index a77d6fec..0075d84b 100644 --- a/Sources/RealModule/README.md +++ b/Sources/RealModule/README.md @@ -73,5 +73,5 @@ Not having this protocol is a significant missing feature for numerical computin [ErrorFunction]: https://en.wikipedia.org/wiki/Error_function [GammaFunction]: https://en.wikipedia.org/wiki/Gamma_function -[SE-0246]: https://github.com/apple/swift-evolution/blob/master/proposals/0246-mathable.md +[SE-0246]: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0246-mathable.md [Sigmoid]: https://en.wikipedia.org/wiki/Sigmoid_function diff --git a/Tests/RealTests/RelaxedArithmeticTests.swift b/Tests/RealTests/RelaxedArithmeticTests.swift index 073b9608..c5cd89e4 100644 --- a/Tests/RealTests/RelaxedArithmeticTests.swift +++ b/Tests/RealTests/RelaxedArithmeticTests.swift @@ -102,7 +102,7 @@ final class RelaxedArithmeticTests: XCTestCase { // Summing all values in an array can be associated however we want, but // has to satisfy the usual error bound of 0.5 * sum.ulp * numberOfElements. // We don't have a golden reference, but we can compare two sums with twice - // the bound for a sanity check. + // the bound for a sanity check. // ignore-unacceptable-language let array = (0 ..< 128).map { _ in T.random(in: 1 ..< 2) } var ref = strictSum(array) var tst = relaxedSum(array)