Skip to content

Commit

Permalink
Merge 93df112 into ce1b097
Browse files Browse the repository at this point in the history
  • Loading branch information
kkebo authored Feb 26, 2024
2 parents ce1b097 + 93df112 commit 0d59bb1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 41 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ jobs:
- run: swift --version
- run: swift build
- run: swift test --disable-xctest --enable-code-coverage --no-parallel
- run: swift package lint-source-code
- run: llvm-cov export -format="lcov" .build/debug/zyphyPackageTests.swift-testing -instr-profile .build/debug/codecov/default.profdata -ignore-filename-regex=".build|Tests" > coverage_report.lcov
- uses: k1LoW/octocov-action@v1
lint:
runs-on: ubuntu-latest
container: swiftlang/swift:nightly-main-jammy
steps:
- uses: actions/checkout@v4
- run: swift format lint -rs .
2 changes: 1 addition & 1 deletion .swift-format
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"XCTAssertNoThrow"
]
},
"prioritizeKeepingFunctionOutputTogether" : false,
"prioritizeKeepingFunctionOutputTogether" : true,
"respectsExistingLineBreaks" : true,
"rules" : {
"AllPublicDeclarationsHaveDocumentation" : false,
Expand Down
38 changes: 1 addition & 37 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,42 +1,6 @@
{
"originHash" : "5c2870c34d7e013f1ac16bf0f8bd1d1312b406bdbb101ec6c1b0cd80c6d0dde7",
"originHash" : "2b26cc864beb6497d489a0c6f5818eed1977f0b9c343bc6e58ccda893283c125",
"pins" : [
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser.git",
"state" : {
"revision" : "c8ed701b513cf5177118a175d85fbbbcd707ab41",
"version" : "1.3.0"
}
},
{
"identity" : "swift-cmark",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-cmark.git",
"state" : {
"revision" : "f218e5d7691f78b55bfa39b367763f4612486c35",
"version" : "0.3.0"
}
},
{
"identity" : "swift-format",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-format",
"state" : {
"revision" : "83248b4fa37919f78ffbd4650946759bcc54c2b5",
"version" : "509.0.0"
}
},
{
"identity" : "swift-markdown",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-markdown.git",
"state" : {
"revision" : "e4f95e2dc23097a1a9a1dfdfe3fe3ee44de77378",
"version" : "0.3.0"
}
},
{
"identity" : "swift-syntax",
"kind" : "remoteSourceControl",
Expand Down
2 changes: 0 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ let package = Package(
dependencies: [
.package(url: "https://github.com/apple/swift-syntax", "509.0.0"..<"510.0.0"),
.package(url: "https://github.com/apple/swift-testing", from: "0.4.2"),
// dev
.package(url: "https://github.com/apple/swift-format", from: "509.0.0"),
],
targets: [
.target(
Expand Down

0 comments on commit 0d59bb1

Please sign in to comment.