Version 4.0 #1687
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # continuous-integration.yml | |
| # Created by Felix Mau (https://felix.hamburg) | |
| # | |
| name: Continuous Integration | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| lint-and-format: | |
| runs-on: macos-26 | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v6 | |
| - name: Install SwiftFormat via Homebrew | |
| run: brew install swiftformat | |
| - name: Install SwiftLint via Homebrew | |
| run: brew install swiftlint | |
| - name: SwiftFormat | |
| run: make format-check | |
| - name: SwiftLint | |
| run: make lint | |
| tests: | |
| runs-on: macos-26 | |
| needs: lint-and-format | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v6 | |
| - name: Execute tests | |
| run: make test | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| fail_ci_if_error: true | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| xcode: true |