Add SwiftLint rules #18
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: Main | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
main: | |
runs-on: macos-13 | |
steps: | |
- name: Select Xcode version | |
run: sudo xcode-select -s '/Applications/Xcode_15.0.1.app/Contents/Developer' | |
- uses: swift-actions/setup-swift@v1 | |
with: | |
swift-version: "5.9.0" | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: .build | |
key: ${{ runner.os }}-FeedbackSwift-${{ hashFiles('**/Package.resolved') }} | |
restore-keys: ${{ runner.os }}-FeedbackSwift | |
- name: Build | |
run: xcodebuild build -scheme FeedbackSwift -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 14" |