File tree Expand file tree Collapse file tree 2 files changed +31
-4
lines changed Expand file tree Collapse file tree 2 files changed +31
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : Linting
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ branches :
9
+ - main
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : macos-latest
14
+
15
+ steps :
16
+ - name : Checkout repository
17
+ uses : actions/checkout@v4
18
+ - name : Install swift-format
19
+ run : brew install swift-format
20
+ - name : Lint code
21
+ run : Scripts/lint-swift-code
Original file line number Diff line number Diff line change 1
- name : Swift
1
+ name : Tests
2
2
3
- on : [push]
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ branches :
9
+ - main
4
10
5
11
jobs :
6
12
build :
7
- runs-on : macos-14
13
+ runs-on : macos-latest
8
14
9
15
steps :
10
16
- name : Checkout repository
11
17
uses : actions/checkout@v4
12
18
- name : Configure Xcode version
13
19
uses : maxim-lobanov/setup-xcode@v1
14
20
with :
15
- xcode-version : " 15.2 "
21
+ xcode-version : " 16.0 "
16
22
- name : Build
17
23
run : swift build -v
18
24
- name : Run tests
You can’t perform that action at this time.
0 commit comments