Skip to content

Commit

Permalink
Test (#5)
Browse files Browse the repository at this point in the history
* Test

* Add DocC

* Update ci.yml

* Update ci.yml

* Update ci.yml
  • Loading branch information
aromanov91 authored Jul 25, 2024
1 parent 7ce169c commit 54ec8a6
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build-swiftpm:
name: Build SwiftPM
Expand All @@ -26,7 +26,17 @@ jobs:
secrets: inherit

bump:
name: Bump version
needs: tests
uses: oversizedev/GithubWorkflows/.github/workflows/bump.yml@main
secrets: inherit
name: Bump version
needs: tests
if: github.ref == 'refs/heads/main'
uses: oversizedev/GithubWorkflows/.github/workflows/bump.yml@main
secrets: inherit

docc:
name: Generate DocC
needs: tests
if: github.ref == 'refs/heads/main'
uses: oversizedev/GithubWorkflows/.github/workflows/docc.yml@main
with:
package: "OversizeAppStoreServices"
secrets: inherit
2 changes: 2 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ let remoteDependencies: [PackageDescription.Package.Dependency] = [
.package(url: "https://github.com/oversizedev/OversizeCore.git", .upToNextMajor(from: "1.3.0")),
.package(url: "https://github.com/oversizedev/OversizeServices.git", .upToNextMajor(from: "1.4.0")),
.package(url: "https://github.com/oversizedev/OversizeModels.git", .upToNextMajor(from: "0.1.0")),
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
]

let localDependencies: [PackageDescription.Package.Dependency] = [
Expand All @@ -18,6 +19,7 @@ let localDependencies: [PackageDescription.Package.Dependency] = [
.package(name: "OversizeCore", path: "../OversizeCore"),
.package(name: "OversizeModels", path: "../OversizeModels"),
.package(name: "OversizeServices", path: "../OversizeServices"),
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
]

var dependencies: [PackageDescription.Package.Dependency] = localDependencies
Expand Down
2 changes: 1 addition & 1 deletion Sources/OversizeAppStoreServices/ServiceRegistering.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
//

import Factory
import Foundation

public extension Container {

var appsService: Factory<AppsService> {
self { AppsService() }
}
Expand Down

0 comments on commit 54ec8a6

Please sign in to comment.