Merge pull request #194 from TrinhNTLine/master #11
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: "Reachability CI" | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
Pods: | |
name: Cocoapods Lint (Latest Stable Xcode) | |
runs-on: macOS-11 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Xcode version | |
uses: maxim-lobanov/setup-xcode@v1.4.0 | |
with: | |
xcode-version: latest-stable | |
- name: Run pod lib lint | |
run: pod lib lint --fail-fast | |
SwiftPM: | |
name: SwiftPM (Latest Stable Xcode) | |
runs-on: macOS-11 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Xcode version | |
uses: maxim-lobanov/setup-xcode@v1.4.0 | |
with: | |
xcode-version: latest-stable | |
- name: Build | |
run: swift build |