Disable PulseUI
in the release configuration (#2)
#15
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: "HackerNews" | |
on: | |
push: | |
branches: | |
- dev | |
- master | |
pull_request: | |
paths: | |
- '.swiftlint.yml' | |
- ".github/workflows/**" | |
- "HackerNews/**" | |
- "HackerNewsTests/**" | |
- "Modules/**" | |
jobs: | |
iOS: | |
name: | |
runs-on: macos-14 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- destination: "OS=17.0,name=iPhone 14 Pro" | |
name: "iOS" | |
scheme: "Debug" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: make setup_build_tools | |
- name: Generate resources | |
run: make swiftgen | |
- name: Generate project | |
run: xcodegen generate | |
- name: Select Xcode version | |
run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer' | |
- name: Run tests | |
run: | | |
bundle add fastlane | |
bundle exec fastlane test | |
discover-typos: | |
name: Discover Typos | |
runs-on: macOS-12 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_14.1.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Discover typos | |
run: | | |
export PATH="$PATH:/Library/Frameworks/Python.framework/Versions/3.11/bin" | |
python3 -m pip install --upgrade pip | |
python3 -m pip install codespell | |
codespell --ignore-words-list="hart,inout,msdos,sur" --skip="./.build/*,./.git/*,./fastlane/*" |