fix swiftlint analyze platform #3
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: SwiftLint Analyze | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
swiftlint-analyze: | |
runs-on: macos-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Select Xcode | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: 'latest-stable' | |
- name: Build Xcode log | |
run: xcodebuild -workspace Spwifiy.xcodeproj/project.xcworkspace -scheme Spwifiy > xcodebuild.log; | |
- name: SwiftLint | |
uses: norio-nomura/[email protected] | |
with: | |
args: analyze xcodebuild.log |