Skip to content

Commit d61ca10

Browse files
authored
Merge pull request #115 from apple/github-actions-support
[CI] Add support for GitHub Actions
2 parents 9e65972 + 4bd141c commit d61ca10

File tree

3 files changed

+28
-4
lines changed

3 files changed

+28
-4
lines changed

.github/workflows/pull_request.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
with:
12+
linux_exclude_swift_versions: '[{"swift_version": "5.8"}]'
13+
windows_exclude_swift_versions: '[{"swift_version": "5.9"}]'
14+
15+
soundness:
16+
name: Soundness
17+
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
18+
with:
19+
license_header_check_project_name: "Swift.org"
20+
docs_check_enabled: false
21+
license_header_check_enabled: false
22+
format_check_enabled: false
23+
python_lint_check_enabled: false
24+
shell_check_enabled: false

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Swift Atomics ⚛︎︎
22

3-
[SE-0282]: https://github.com/apple/swift-evolution/blob/master/proposals/0282-atomics.md
4-
[SE-0282r0]: https://github.com/apple/swift-evolution/blob/3a358a07e878a58bec256639d2beb48461fc3177/proposals/0282-atomics.md
3+
[SE-0282]: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0282-atomics.md
4+
[SE-0282r0]: https://github.com/swiftlang/swift-evolution/blob/3a358a07e878a58bec256639d2beb48461fc3177/proposals/0282-atomics.md
55

66
This package implements an atomics library for Swift, providing atomic operations for a variety of Swift types, including integers and pointer values. The goal is to enable intrepid developers to start building synchronization constructs directly in Swift.
77

@@ -161,7 +161,7 @@ Atomic access is implemented in terms of dedicated atomic storage representation
161161
- it enables custom storage representations (such as the one used by atomic strong references), and
162162
- it is a better fit with the standard C atomics library that we use to implement the actual operations (as enabled by [SE-0282]).
163163

164-
[SE-0282]: https://github.com/apple/swift-evolution/blob/master/proposals/0282-atomics.md
164+
[SE-0282]: https://github.com/apple/swift-evolution/blob/main/proposals/0282-atomics.md
165165

166166
While the underlying pointer-based atomic operations are exposed as static methods on the corresponding [`AtomicStorage`][AtomicStorage] types, we strongly recommend the use of higher-level atomic wrappers to manage the details of preparing/disposing atomic storage. This version of the library provides two wrapper types:
167167

Sources/Atomics/Atomics.docc/Atomics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Atomic access is implemented in terms of dedicated atomic storage representation
5151
- it enables custom storage representations (such as the one used by atomic strong references), and
5252
- it is a better fit with the standard C atomics library that we use to implement the actual operations (as enabled by [SE-0282]).
5353

54-
[SE-0282]: https://github.com/apple/swift-evolution/blob/master/proposals/0282-atomics.md
54+
[SE-0282]: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0282-atomics.md
5555

5656
While the underlying pointer-based atomic operations are exposed as static methods on the corresponding `AtomicStorage` types, we strongly recommend the use of higher-level atomic wrappers to manage the details of preparing/disposing atomic storage. This version of the library provides two wrapper types:
5757

0 commit comments

Comments
 (0)