Skip to content

Commit

Permalink
update checkout version on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JARMourato committed May 31, 2024
1 parent 5da612e commit 0348fd8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ on:
jobs:
build:
env:
SPM_NAME: Injection
SP_NAME: Injection

runs-on: macos-latest

steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Xcode
uses: maxim-lobanov/setup-xcode@v1
Expand All @@ -33,7 +33,7 @@ jobs:
run: swift test --enable-code-coverage

- name: Prepare Code Coverage
run: xcrun llvm-cov export -format="lcov" .build/debug/${{ env.SPM_NAME }}PackageTests.xctest/Contents/MacOS/${{ env.SPM_NAME }}PackageTests -instr-profile .build/debug/codecov/default.profdata > coverage.lcov
run: xcrun llvm-cov export -format="lcov" .build/debug/${{ env.SP_NAME }}PackageTests.xctest/Contents/MacOS/${{ env.SP_NAME }}PackageTests -instr-profile .build/debug/codecov/default.profdata > coverage.lcov

- name: Upload coverage to CodeCov.io
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit 0348fd8

Please sign in to comment.