protected env files for frontend #184
This file contains 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: Frontend - Xcode Build and SwiftLint | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- ALUM/** | |
- .github/workflows/frontend.yml | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Xcode | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: 14.2 | |
- name: Build and test on iPhone 8 | |
run: xcodebuild build -workspace ALUM/ALUM.xcodeproj/project.xcworkspace -scheme ALUM -destination "platform=iOS Simulator,name=iPhone 8" | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: GitHub Action for SwiftLint with --strict | |
uses: norio-nomura/[email protected] | |
with: | |
args: --strict |