Merge pull request #27 from Farfetch/security-policy #96
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: Changes Action | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build Network Monitor | |
run: xcodebuild build -scheme NetworkMonitor -workspace NetworkMonitor.xcworkspace -destination 'platform=iOS Simulator,name=iPhone 12 Pro Max' | |
- name: Test Network Monitor | |
run: xcodebuild test -scheme NetworkMonitor -workspace NetworkMonitor.xcworkspace -destination 'platform=iOS Simulator,name=iPhone 12 Pro Max' | |
- name: Build Sample | |
run: xcodebuild build -scheme Sample -workspace NetworkMonitor.xcworkspace -destination 'platform=iOS Simulator,name=iPhone 12 Pro Max' | |
- name: Install Cocoapods | |
run: gem install cocoapods | |
- name: Pod lib lint | |
run: pod lib lint FNMNetworkMonitor.podspec --allow-warnings --analyze |