Skip to content

Commit

Permalink
Update swift.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nearfri committed Feb 27, 2024
1 parent 22889fc commit 852e09a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/swift.yml
Expand Up @@ -13,19 +13,19 @@ jobs:
PACKAGE_NAME: XCResource
COVERAGE_FILE: ./coverage_report.lcov

runs-on: macos-12
runs-on: macos-14

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable

- name: Cache SPM
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .build
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
Expand All @@ -45,8 +45,9 @@ jobs:
-instr-profile .build/debug/codecov/default.profdata > ${{ env.COVERAGE_FILE }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
files: ${{ env.COVERAGE_FILE }}
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

0 comments on commit 852e09a

Please sign in to comment.