diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index cef70e4..bf67a23 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -12,12 +12,14 @@ on: - 'Package.swift' - 'Sources/**' - 'Tests/**' + - '.github/workflows/code-coverage.yml' jobs: code-coverage: uses: request-dl/.github/.github/workflows/code-coverage.yml@main with: - swift-version: 5.8 - package-tests: OpenAPIRequestDLPackageTests + xcode-version: 14.3.1 + platform: macOS-13 + package-tests: swift-openapi-request-dlPackageTests target: OpenAPIRequestDL secrets: inherit \ No newline at end of file diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 548b39c..2012b65 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -19,6 +19,7 @@ jobs: uses: request-dl/.github/.github/workflows/documentation.yml@main with: swift-version: 5.8 + platform: macOS-13 target: OpenAPIRequestDL hosting-base-path: swift-openapi-request-dl output: ./_site diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index a0e9888..3d49805 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -7,9 +7,11 @@ on: - 'Package.swift' - 'Sources/**' - 'Tests/**' + - '.github/workflows/swift.yml' jobs: swift: uses: request-dl/.github/.github/workflows/swift.yml@main with: swift-version: 5.8 + platform: macOS-13 diff --git a/.github/workflows/swiftlint.yml b/.github/workflows/swiftlint.yml index 8f5c4d8..de93b0f 100644 --- a/.github/workflows/swiftlint.yml +++ b/.github/workflows/swiftlint.yml @@ -6,6 +6,7 @@ on: - '.swiftlint.yml' - 'Sources/**' - 'Tests/**' + - '.github/workflows/swiftlint.yml' jobs: swiftlint: diff --git a/Package.swift b/Package.swift index e55f4a7..21d69fd 100644 --- a/Package.swift +++ b/Package.swift @@ -19,11 +19,11 @@ let package = Package( ), .package( url: "https://github.com/apple/swift-openapi-runtime", - from: "0.1.0" + from: "0.1.2" ), .package( url: "https://github.com/apple/swift-docc-plugin", - from: "1.0.0" + from: "1.2.0" ) ], targets: [ diff --git a/README.md b/README.md index ced0d5b..3a7f82d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![Swift Compatibility](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Frequest-dl%2Fswift-openapi-request-dl%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/request-dl/swift-openapi-request-dl) [![Platform Compatibility](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Frequest-dl%2Fswift-openapi-request-dl%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/request-dl/swift-openapi-request-dl) -[![codecov](https://codecov.io/gh/request-dl/request-dl/branch/main/graph/badge.svg?token=MW5J053T85)](https://codecov.io/gh/request-dl/request-dl) +[![codecov](https://codecov.io/github/request-dl/swift-openapi-request-dl/branch/main/graph/badge.svg?token=Cz6ro3SEc3)](https://codecov.io/github/request-dl/swift-openapi-request-dl) # OpenAPIRequestDL diff --git a/Sources/OpenAPIRequestDL/OpenAPIRequestDL.swift b/Sources/OpenAPIRequestDL/OpenAPIRequestDL.swift index ad9f52f..43e21c0 100644 --- a/Sources/OpenAPIRequestDL/OpenAPIRequestDL.swift +++ b/Sources/OpenAPIRequestDL/OpenAPIRequestDL.swift @@ -3,3 +3,5 @@ */ import Foundation + +public enum OpenAPIRequestDL {} diff --git a/Tests/OpenAPIRequestDLTests/OpenAPIRequestDLTests.swift b/Tests/OpenAPIRequestDLTests/OpenAPIRequestDLTests.swift index ed6822d..0134054 100644 --- a/Tests/OpenAPIRequestDLTests/OpenAPIRequestDLTests.swift +++ b/Tests/OpenAPIRequestDLTests/OpenAPIRequestDLTests.swift @@ -7,7 +7,7 @@ import XCTest final class OpenAPIRequestDLTests: XCTestCase { - func testExample() throws { - XCTFail("Hello World!") + func testPackage() throws { + XCTAssertEqual(String(describing: OpenAPIRequestDL.self), "OpenAPIRequestDL") } }