From 8bbf248a6c94e3c90a14321eacc6c3859efd5e98 Mon Sep 17 00:00:00 2001 From: Marz Rover Date: Thu, 21 Apr 2022 21:02:49 -0400 Subject: [PATCH 1/3] Update workflows and add CODEOWNERS --- .github/CODEOWNERS | 1 + .github/workflows/macOS.yml | 6 +++++- .github/workflows/ubuntu.yml | 6 +++++- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..2ee8a19 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +@marzvrover diff --git a/.github/workflows/macOS.yml b/.github/workflows/macOS.yml index e3ade08..ca8aa37 100644 --- a/.github/workflows/macOS.yml +++ b/.github/workflows/macOS.yml @@ -5,6 +5,10 @@ on: branches: [ main ] pull_request: branches: [ main ] + types: [opened, reopened] + schedule: + - cron: '0 0 1,15 * *' + workflow_dispatch: jobs: build: @@ -14,7 +18,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Setup Swift - uses: fwal/setup-swift@v1.5.0 + uses: fwal/setup-swift@v1.14.0 - name: Build run: swift build -v - name: Run tests diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index f4a8c91..c535e0e 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -5,6 +5,10 @@ on: branches: [ main ] pull_request: branches: [ main ] + types: [opened, reopened] + schedule: + - cron: '0 0 1,15 * *' + workflow_dispatch: jobs: build: @@ -14,7 +18,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Setup Swift - uses: fwal/setup-swift@v1.5.0 + uses: fwal/setup-swift@v1.14.0 - name: Build run: swift build -v - name: Run tests From 79f97fa25fa3b0beef912baf167691eb3414efe2 Mon Sep 17 00:00:00 2001 From: Marz Rover Date: Thu, 21 Apr 2022 21:11:30 -0400 Subject: [PATCH 2/3] bump swift-nio version --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 3c31f5e..64b45fe 100644 --- a/Package.swift +++ b/Package.swift @@ -10,7 +10,7 @@ let package = Package( targets: ["DotEnv"]), ], dependencies: [ - .package(url: "https://github.com/apple/swift-nio.git", from: "2.23.0"), + .package(url: "https://github.com/apple/swift-nio.git", from: "2.29.0"), ], targets: [ .target( From 5884900f19c8de29a708b0aab978355bd4c95f49 Mon Sep 17 00:00:00 2001 From: Marz Rover Date: Thu, 21 Apr 2022 23:15:19 -0400 Subject: [PATCH 3/3] fix swift version issues --- .github/workflows/macOS.yml | 2 ++ .github/workflows/ubuntu.yml | 2 ++ Package.swift | 2 +- README.md | 4 ++-- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/macOS.yml b/.github/workflows/macOS.yml index ca8aa37..f6a9100 100644 --- a/.github/workflows/macOS.yml +++ b/.github/workflows/macOS.yml @@ -19,6 +19,8 @@ jobs: - uses: actions/checkout@v2 - name: Setup Swift uses: fwal/setup-swift@v1.14.0 + with: + swift-version: "5.1" - name: Build run: swift build -v - name: Run tests diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index c535e0e..e64c0b4 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -19,6 +19,8 @@ jobs: - uses: actions/checkout@v2 - name: Setup Swift uses: fwal/setup-swift@v1.14.0 + with: + swift-version: "5.1" - name: Build run: swift build -v - name: Run tests diff --git a/Package.swift b/Package.swift index 64b45fe..6b5155b 100644 --- a/Package.swift +++ b/Package.swift @@ -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( diff --git a/README.md b/README.md index 0a5e276..66b6dc4 100644 --- a/README.md +++ b/README.md @@ -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"), @@ -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(