Skip to content

Commit

Permalink
repo-fix: fix CI for Swift 6 (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
perfaram authored Dec 12, 2024
1 parent a34ec5e commit 5d5e3a3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,19 @@ on:
jobs:
build:

runs-on: macOS-15
runs-on: macOS-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: SwiftyLab/setup-swift@latest
with:
swift-version: "6"
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v --enable-code-coverage

- name: Calculate Code Coverage
uses: maxep/spm-lcov-action@0.3.1
uses: Nef10/spm-lcov-action@macOS12Runner
with:
output-file: coverage.json
file-format: text

0 comments on commit 5d5e3a3

Please sign in to comment.