Substrate v2: Generic CRUD app foundation #112
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
| name: Run tests | |
| on: | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: macos-15 | |
| steps: | |
| - uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: '16.4' | |
| - uses: actions/checkout@v3 | |
| - name: Install SwiftLint and SwiftFormat | |
| run: | | |
| brew install swiftlint swiftformat | |
| - name: SwiftFormat Lint | |
| run: | | |
| swiftformat --lint NativeAppTemplate | |
| # Commented out due to an error. | |
| # - name: Unit Tests | |
| # run: | | |
| # xcodebuild -project NativeAppTemplate.xcodeproj \ | |
| # -scheme "NativeAppTemplate" \ | |
| # -sdk iphonesimulator \ | |
| # -destination 'platform=iOS Simulator,name=iPhone 16 Pro,OS=18.2' \ | |
| # -quiet \ | |
| # test |