bumpversion 0.6.13 --> 0.6.14 #1
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: CI | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
lint: | |
runs-on: macOS-latest | |
env: | |
MINT_PATH: ${{ github.workspace }}/mint | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Cache Mint dependencies | |
uses: actions/cache@v1 | |
with: | |
path: ${{ env.MINT_PATH }} | |
key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }} | |
restore-keys: ${{ runner.os }}-mint- | |
- name: Install mint | |
run: brew install mint | |
- name: Bootstrap mint dependencies | |
run: mint bootstrap --link | |
- name: SwiftFormat version | |
run: mint run swiftformat --version | |
- name: SwiftFormat | |
run: mint run swiftformat . --lint --verbose | |
build: | |
runs-on: macOS-11 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Copy sample GoogleService-Info.plist | |
run: cp Odysee/GoogleService-Info.plist.sample Odysee/GoogleService-Info.plist | |
- name: Run xcodebuild | |
run: xcodebuild -project Odysee.xcodeproj/ -scheme Odysee -configuration Release -destination generic/platform=iOS CODE_SIGN_IDENTITY="" CODE_SIGNING_ALLOWED=NO -derivedDataPath DerivedData -archivePath DerivedData/Archive/Odysee archive |