Skip to content

Commit

Permalink
Swift 5.7 (#27)
Browse files Browse the repository at this point in the history
* built with Swift 5.7

* bump swift-log
  • Loading branch information
dastrobu committed Dec 8, 2022
1 parent 313bb9d commit 56715c2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,26 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: norio-nomura/action-swiftlint@3.2.1
macOS-test:
strategy:
matrix:
swift-version:
- "5.5"
- "5.7"
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: fwal/setup-swift@v1
- uses: actions/checkout@v3
- uses: swift-actions/setup-swift@v1
with:
swift-version: ${{ matrix.swift-version }}
- run: swift test
linux-test:
strategy:
matrix:
swift-version:
- "5.7"
- "5.6"
- "5.5"
- "5.4"
- "5.3"
Expand All @@ -33,10 +35,10 @@ jobs:
runs-on: ubuntu-latest
container: swift:${{ matrix.swift-version }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: swift test
iOS-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: xcodebuild -scheme argtree -destination 'platform=iOS Simulator,name=iPhone 13'
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"repositoryURL": "https://github.com/apple/swift-log.git",
"state": {
"branch": null,
"revision": "5d66f7ba25daf4f94100e7022febf3c75e37a6c7",
"version": "1.4.2"
"revision": "6fe203dc33195667ce1759bf0182975e4653ba1c",
"version": "1.4.4"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let package = Package(
]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-log.git", from: "1.4.2"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.4.4"),
],
targets: [
.target(
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# argtree

[![Swift](https://img.shields.io/badge/Swift-5.5-blue?logo=swift&logoColor=white)](https://swift.org)
[![Swift](https://img.shields.io/badge/Swift-5.7-blue?logo=swift&logoColor=white)](https://swift.org)
![Platform](https://img.shields.io/badge/platform-x86__64--apple|x86__64--linux-lightgrey.svg)
![Build](https://github.com/dastrobu/argtree/actions/workflows/ci.yaml/badge.svg)

Expand Down Expand Up @@ -61,7 +61,7 @@ complicated parse trees for big command line programs.
```swift
let package = Package(
dependencies: [
.package(url: "https://github.com/dastrobu/argtree.git", from: "1.5.3"),
.package(url: "https://github.com/dastrobu/argtree.git", from: "1.5.4"),
]
)
```
Expand Down

0 comments on commit 56715c2

Please sign in to comment.