Skip to content

Commit

Permalink
Merge pull request #4 from swiftpackages/update-workflows
Browse files Browse the repository at this point in the history
Update workflows and add CODEOWNERS
  • Loading branch information
marzvrover authored Apr 22, 2022
2 parents 3261ee2 + 5884900 commit def8c62
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@marzvrover
8 changes: 7 additions & 1 deletion .github/workflows/macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
types: [opened, reopened]
schedule:
- cron: '0 0 1,15 * *'
workflow_dispatch:

jobs:
build:
Expand All @@ -14,7 +18,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Setup Swift
uses: fwal/[email protected]
uses: fwal/[email protected]
with:
swift-version: "5.1"
- name: Build
run: swift build -v
- name: Run tests
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
types: [opened, reopened]
schedule:
- cron: '0 0 1,15 * *'
workflow_dispatch:

jobs:
build:
Expand All @@ -14,7 +18,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Setup Swift
uses: fwal/[email protected]
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.23.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 def8c62

Please sign in to comment.