File tree Expand file tree Collapse file tree 1 file changed +21
-18
lines changed
Expand file tree Collapse file tree 1 file changed +21
-18
lines changed Original file line number Diff line number Diff line change @@ -2,32 +2,35 @@ name: CI
22
33on :
44 push :
5- branches : [ main ]
5+ branches : [main]
66 pull_request :
7- branches : [ main ]
7+ branches : [main]
88
99jobs :
1010 test :
1111 name : Test
1212 runs-on : macos-latest
1313
1414 steps :
15- - uses : actions/checkout@v4
15+ - uses : actions/checkout@v4
1616
17- - uses : swift-actions/setup-swift@v2
18- with :
19- swift-version : " 6.1.0"
17+ - uses : swift-actions/setup-swift@v2
18+ with :
19+ swift-version : " 6.1.0"
2020
21- - name : Cache Swift Package Manager
22- uses : actions/cache@v3
23- with :
24- path : |
25- .build
26- ~/.cache/org.swift.swiftpm
27- key : spm-${{ hashFiles('**/Package.resolved') }}
28- restore-keys : spm-
21+ - name : Cache Swift Package Manager
22+ uses : actions/cache@v3
23+ with :
24+ path : |
25+ .build
26+ ~/.cache/org.swift.swiftpm
27+ key : spm-${{ hashFiles('**/Package.resolved') }}
28+ restore-keys : spm-
2929
30- - name : Test
31- run : swift test --verbose
32- env :
33- IPInfoKitAccessToken : ${{ secrets.IPINFO_TOKEN }}
30+ - name : Build (production)
31+ run : swift build --configuration release
32+
33+ - name : Test
34+ run : swift test --verbose
35+ env :
36+ IPInfoKitAccessToken : ${{ secrets.IPINFO_TOKEN }}
You can’t perform that action at this time.
0 commit comments