Skip to content

Various fixes

Various fixes #40

Workflow file for this run

name: SNUTT CI
on:
pull_request:
branches:
- master
paths:
- "SNUTT/**"
- ".github/workflows/SNUTT/**"
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: "26.0.1"
- 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