Add CircleCI workflow for running security scans (#161) #17
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: Okta Auth Swift | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
UnitTests: | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: iOS | |
run: xcodebuild -workspace OktaAuthSdk.xcworkspace -scheme "OktaAuthNative iOS" -destination "platform=iOS Simulator,OS=latest,name=iPhone 11" clean test | |
- name: Swift | |
run: swift test -v | |
PackageValidation: | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cocoapods | |
run: pod lib lint --allow-warnings |