Git Issue(21): To show the given date month when calendar is presented #40
Workflow file for this run
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: Run linter and unit tests | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set Xcode version | |
run: | | |
ls -l /Applications | grep 'Xcode' | |
sudo xcode-select -s /Applications/Xcode_14.0.1.app | |
- name: Lint code using SwiftLint | |
run: swiftlint --strict --reporter github-actions-logging | |
- name: Build iOS | |
run: | | |
xcodebuild -scheme YCalendarPicker -sdk iphonesimulator16.0 -destination 'platform=iOS Simulator,name=iPhone 14' build-for-testing | |
- name: Run tests iOS | |
run: | | |
xcodebuild -scheme YCalendarPicker -sdk iphonesimulator16.0 -destination 'platform=iOS Simulator,name=iPhone 14' test-without-building |