Skip to content

Commit f367740

Browse files
committed
Upgrade Github actions
1 parent f80d34a commit f367740

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ jobs:
1212
test:
1313
runs-on: macos-14
1414
steps:
15-
- uses: actions/checkout@v4.1.7
15+
- uses: actions/checkout@v4.2.2
1616
- name: Run tests
1717
run: |
18+
defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES
19+
1820
xcodebuild -resolvePackageDependencies \
1921
-project 'Examples/ComposableNavigation-Examples/ComposableNavigation-Examples.xcodeproj' \
2022
-scheme 'ComposableNavigation-Examples' \
@@ -28,21 +30,21 @@ jobs:
2830
-derivedDataPath DerivedData \
2931
-clonedSourcePackagesDirPath ClonedSourcePackages \
3032
-enableCodeCoverage YES \
31-
-destination 'platform=iOS Simulator,name=iPhone 14' \
33+
-destination 'platform=iOS Simulator,name=iPhone 15' \
3234
| xcpretty --report junit --output test_report.xml
3335
- name: Extract code coverage
3436
run: |
3537
binary=DerivedData/Build/Products/Debug-iphonesimulator/ComposableNavigation.o
3638
profile=DerivedData/Build/ProfileData/*/Coverage.profdata
3739
xcrun --run llvm-cov show $binary --instr-profile $profile >> coverage.txt
3840
- name: Upload coverage to Codecov
39-
uses: codecov/codecov-action@v4.5.0
41+
uses: codecov/codecov-action@v5.1.2
4042
with:
4143
token: ${{ secrets.CODECOV_TOKEN }}
4244
files: ./coverage.txt
4345
fail_ci_if_error: true
4446
- name: Publish Test Report
45-
uses: mikepenz/action-junit-report@v4.3.1
47+
uses: mikepenz/action-junit-report@v5.2.0
4648
with:
4749
report_paths: 'test_report.xml'
4850

0 commit comments

Comments
 (0)