Skip to content

Commit

Permalink
fix swift version issues
Browse files Browse the repository at this point in the history
  • Loading branch information
marzvrover committed Apr 22, 2022
1 parent 79f97fa commit 5884900
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
- uses: actions/checkout@v2
- name: Setup Swift
uses: fwal/[email protected]
with:
swift-version: "5.1"
- name: Build
run: swift build -v
- name: Run tests
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
- uses: actions/checkout@v2
- name: Setup Swift
uses: fwal/[email protected]
with:
swift-version: "5.1"
- name: Build
run: swift build -v
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let package = Package(
targets: ["DotEnv"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.29.0"),
.package(url: "https://github.com/apple/swift-nio.git", "2.23.0"..."2.39.0"),
],
targets: [
.target(
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ You can easily add as a requirement with [SwiftPM](https://swift.org/package-man
Here are some quick copypastas for you

```swift
.package(url: "https://github.com/swiftpackages/DotEnv.git", from: "2.0.0"),
.package(url: "https://github.com/swiftpackages/DotEnv.git", from: "2.0.1"),
```
```swift
.product(name: "DotEnv", package: "DotEnv"),
Expand All @@ -47,7 +47,7 @@ let package = Package(
targets: ["SuperCoolProject"]),
],
dependencies: [
.package(url: "https://github.com/swiftpackages/DotEnv.git", from: "2.0.0"),
.package(url: "https://github.com/swiftpackages/DotEnv.git", from: "2.0.1"),
],
targets: [
.target(
Expand Down

0 comments on commit 5884900

Please sign in to comment.