Various fixes #41
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: SNUTT CI | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| paths: | |
| - "SNUTT/**" | |
| - ".github/workflows/SNUTT/**" | |
| env: | |
| XCODE_VERSION: "26.2" | |
| jobs: | |
| check-and-test: | |
| runs-on: macos-latest | |
| timeout-minutes: 30 | |
| defaults: | |
| run: | |
| working-directory: ./SNUTT | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Xcode | |
| uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: ${{ env.XCODE_VERSION }} | |
| - name: Create XCConfig files from secrets | |
| run: | | |
| cat > XCConfigs/Dev.xcconfig << 'EOF' | |
| ${{ secrets.DEV_XCCONFIG }} | |
| EOF | |
| cat > XCConfigs/Prod.xcconfig << 'EOF' | |
| ${{ secrets.PROD_XCCONFIG }} | |
| EOF | |
| - name: Create GoogleService-Info.plist files | |
| run: | | |
| echo "${{ secrets.GOOGLE_SERVICE_DEBUG_INFO }}" > SNUTT/Resources/GoogleServiceDebugInfo.plist | |
| echo "${{ secrets.GOOGLE_SERVICE_RELEASE_INFO }}" > SNUTT/Resources/GoogleServiceReleaseInfo.plist | |
| - name: Setup mise (Tuist) | |
| uses: jdx/mise-action@v3 | |
| with: | |
| working_directory: ./SNUTT | |
| - name: Install brew dependencies | |
| run: brew install just mint | |
| - name: Run tests with implicit import checks | |
| run: | | |
| just openapi-dev | |
| just test |