File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build a Swift project
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
3+
4+ name : Swift
5+
6+ on :
7+ push :
8+ branches : [ "main" ]
9+ pull_request :
10+ branches : [ "main" ]
11+
12+ jobs :
13+ build :
14+
15+ runs-on : macos-latest
16+
17+ steps :
18+ - uses : actions/checkout@v4
19+ - uses : swift-actions/setup-swift@v2
20+ with :
21+ swift-version : 5.9
22+ - name : Build
23+ run : swift build -v
24+ - name : Run tests
25+ run : swift test -v
Original file line number Diff line number Diff line change 1- // swift-tools-version: 6.0
1+ // swift-tools-version: 5.9
22// The swift-tools-version declares the minimum version of Swift required to build this package.
33
44import PackageDescription
You can’t perform that action at this time.
0 commit comments