diff --git a/.github/workflows/deploy_docc.yml b/.github/workflows/deploy_docc.yml index 2fd7696..bcc370b 100644 --- a/.github/workflows/deploy_docc.yml +++ b/.github/workflows/deploy_docc.yml @@ -38,7 +38,6 @@ jobs: cache-snapshot: false - name: Build DocC run: | - swift -version make build_docc - name: Setup Pages uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5 diff --git a/Package.swift b/Package.swift index 7ccf36d..28a0a82 100644 --- a/Package.swift +++ b/Package.swift @@ -32,7 +32,8 @@ let package = Package( .product(name: "HTTPTypes", package: "swift-http-types"), .product(name: "HTTPTypesFoundation", package: "swift-http-types"), .product(name: "KeychainAccess", package: "KeychainAccess"), - ] + ], + swiftLanguageModes: [.v6] ), .testTarget( name: "IAPClientTests", @@ -43,7 +44,8 @@ let package = Package( dependencies: [ .product(name: "Dependencies", package: "swift-dependencies"), .product(name: "DependenciesMacros", package: "swift-dependencies"), - ] + ], + swiftLanguageModes: [.v6] ), .target( name: "IAPInterface", @@ -51,13 +53,15 @@ let package = Package( "IAPCore", // Use Model... .product(name: "AppStoreServerLibrary", package: "app-store-server-library-swift"), - ] + ], + swiftLanguageModes: [.v6] ), .target( name: "IAPModel", dependencies: [ "IAPInterface" - ] + ], + swiftLanguageModes: [.v6] ), .testTarget( name: "IAPModelTests", @@ -71,7 +75,8 @@ let package = Package( ], plugins: [ .plugin(name: "LicensesPlugin", package: "LicensesPlugin") - ] + ], + swiftLanguageModes: [.v6] ), .testTarget( name: "IAPViewTests",