File tree Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 1
- name : Build & Deploy Documentation
1
+ name : " Build & Deploy Documentation"
2
2
3
3
on :
4
4
push :
19
19
environment :
20
20
name : github-pages
21
21
url : ${{ steps.deployment.outputs.page_url }}
22
- runs-on : macos-14
22
+ runs-on : macos-latest
23
23
steps :
24
24
- name : Checkout Repository
25
25
uses : actions/checkout@v3
Original file line number Diff line number Diff line change
1
+ name : " Build & Test Package"
2
+
3
+ on :
4
+ push :
5
+ branches : ["main"]
6
+ pull_request :
7
+ branches : ["main", "develop"]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : macos-latest
12
+ steps :
13
+ - name : Checkout Repository
14
+ uses : actions/checkout@v3
15
+ - name : Build Package
16
+ run : swift build
17
+ - name : Test Package
18
+ run : swift test
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ let package: Package = .init(
9
9
. library( name: " NumericProtocols " , targets: [ " NumericProtocols " ] )
10
10
] ,
11
11
dependencies: [
12
- . package ( url: " https://github.com/swiftlang/swift-docc-plugin.git " , from: " 1.4.2 " )
12
+ . package ( url: " https://github.com/swiftlang/swift-docc-plugin.git " , from: " 1.4.2 " )
13
13
] ,
14
14
targets: [
15
15
. target(
You can’t perform that action at this time.
0 commit comments