refactor(bridge): update listFiles to listDirectory tool #12
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: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-test: | |
| name: Build and Test | |
| runs-on: macos-15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Select Xcode | |
| run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer | |
| - name: Show Xcode version | |
| run: xcodebuild -version | |
| - name: Cache Swift packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: SourcePackages | |
| key: ${{ runner.os }}-spm-${{ hashFiles('Axon.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved') }} | |
| restore-keys: | | |
| ${{ runner.os }}-spm- | |
| - name: Resolve Swift packages | |
| run: | | |
| xcodebuild -resolvePackageDependencies \ | |
| -project Axon.xcodeproj \ | |
| -scheme Axon \ | |
| -clonedSourcePackagesDirPath SourcePackages | |
| - name: Build and test | |
| run: | | |
| xcodebuild test \ | |
| -project Axon.xcodeproj \ | |
| -scheme Axon \ | |
| -destination 'platform=iOS Simulator,name=iPhone 16,OS=latest' \ | |
| -clonedSourcePackagesDirPath SourcePackages \ | |
| -resultBundlePath TestResults.xcresult \ | |
| CODE_SIGNING_ALLOWED=NO \ | |
| CODE_SIGNING_REQUIRED=NO \ | |
| CODE_SIGN_IDENTITY="" \ | |
| IPHONEOS_DEPLOYMENT_TARGET=17.0 |