This repository has been archived by the owner on Apr 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from madsodgaard/vapor4
Vapor 4 support + custom cache keys
- Loading branch information
Showing
22 changed files
with
446 additions
and
412 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: test | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
linux: | ||
runs-on: ubuntu-latest | ||
container: swift:5.3-focal | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
- name: Run tests with Thread Sanitizer | ||
run: swift test --enable-test-discovery --sanitize=thread | ||
macOS: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Select latest available Xcode | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
- name: Run tests with Thread Sanitizer | ||
run: swift test --enable-test-discovery --sanitize=thread |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,5 @@ Config/secrets/ | |
.DS_Store | ||
.swift-version | ||
CMakeLists.txt | ||
Package.resolved | ||
Package.resolved | ||
.swiftpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,30 @@ | ||
// swift-tools-version:4.2 | ||
// swift-tools-version:5.3 | ||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "Gatekeeper", | ||
name: "gatekeeper", | ||
platforms: [ | ||
.macOS(.v10_15), | ||
], | ||
products: [ | ||
.library( | ||
name: "Gatekeeper", | ||
targets: ["Gatekeeper"]), | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/vapor/vapor.git", from: "3.0.0"), | ||
.package(url: "https://github.com/vapor/vapor.git", from: "4.38.0"), | ||
], | ||
targets: [ | ||
.target( | ||
name: "Gatekeeper", | ||
dependencies: [ | ||
"Vapor" | ||
.product(name: "Vapor", package: "vapor") | ||
]), | ||
.testTarget( | ||
name: "GatekeeperTests", | ||
dependencies: ["Gatekeeper"]), | ||
dependencies: [ | ||
"Gatekeeper", | ||
.product(name: "XCTVapor", package: "vapor") | ||
]), | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.