Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
release:
runs-on: macos-15
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5
- name: Generate DocC Static Site
run: |
swift package --allow-writing-to-directory ./docs \
Expand All @@ -22,4 +22,4 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs


6 changes: 3 additions & 3 deletions .github/workflows/test-spm-codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: true

- name: Set up Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '16.0'
xcode-version: 'latest-stable'

- name: Run tests
run: swift test --enable-code-coverage
Expand All @@ -29,7 +29,7 @@ jobs:
run: xcrun llvm-cov export -format="lcov" .build/debug/${{ inputs.test_bundle }}.xctest/Contents/MacOS/${{ inputs.test_bundle }} -instr-profile .build/debug/codecov/default.profdata > coverage_report.lcov

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage_report.lcov
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
.gitnexus
47 changes: 46 additions & 1 deletion Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 13 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,18 @@ let package = Package(
name: "FischerCore",
platforms: [
.iOS(.v13),
.macOS(.v10_15)
.macOS(.v13)
],
products: [
.library(
name: "FischerCore",
targets: ["FischerCore"])
targets: ["FischerCore"]),
.executable(
name: "fischer-cli",
targets: ["fischer-cli"])
],
dependencies: [
.package(url: "https://github.com/tuist/Noora", .upToNextMajor(from: "0.15.0")),
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
.package(url: "https://github.com/pointfreeco/swift-parsing", from: "0.14.1")
],
Expand All @@ -24,6 +28,13 @@ let package = Package(
.product(name: "Parsing", package: "swift-parsing")
]
),
.executableTarget(
name: "fischer-cli",
dependencies: [
"FischerCore",
.product(name: "Noora", package: "Noora")
]
),
.testTarget(
name: "FischerCoreTests",
dependencies: [
Expand Down
Loading
Loading