Ornament C with apinotes #98
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
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - '*' | |
| workflow_dispatch: | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| spelling: | |
| name: Spell Check with Typos | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Actions Repository | |
| uses: actions/checkout@v4 | |
| - name: Spell Check Repo | |
| uses: crate-ci/typos@v1.42.3 | |
| linting: | |
| runs-on: macos-26 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: "Run Lint" | |
| run: | | |
| brew update | |
| brew upgrade swiftformat | |
| swiftformat . --lint | |
| unittest: | |
| runs-on: macos-26 | |
| needs: | |
| - linting | |
| strategy: | |
| matrix: | |
| xcode: ['26.2'] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: "Install just" | |
| run: | | |
| if ! command -v just >/dev/null; then | |
| brew update | |
| brew install just | |
| fi | |
| - name: "Select Xcode ${{ matrix.xcode }}" | |
| run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app | |
| - name: "Clean and init submodules" | |
| run: just init | |
| - name: "Run test in debug" | |
| run: just testdebug | |
| - name: "Run test in production" | |
| run: just testprod |