Skip to content

Commit

Permalink
Update workflow actions
Browse files Browse the repository at this point in the history
feature/update-dependencies-v4
  • Loading branch information
roanutil committed Aug 28, 2024
1 parent 0f4c5ee commit e8b5d67
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ on:
- main
pull_request:
branches:
- '*'
- "*"
workflow_dispatch:

jobs:
lint:
runs-on: macos-latest
environment: default
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Format lint
run: swiftformat --lint .
- name: Lint
Expand All @@ -29,16 +29,17 @@ jobs:
- os: macos-13
xcode: 14.3 # Swift 5.8
- os: macos-13
xcode: '15.0' # Swift 5.9
xcode: "15.0" # Swift 5.9
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run Tests
run: swift test --enable-code-coverage --parallel
- name: Swift Coverage Report
run: xcrun llvm-cov export -format="lcov" .build/debug/NetworkServicePackageTests.xctest/Contents/MacOS//NetworkServicePackageTests -instr-profile .build/debug/codecov/default.profdata > coverage_report.lcov
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true # optional (default = false)
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true # optional (default = false)

0 comments on commit e8b5d67

Please sign in to comment.