diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml new file mode 100644 index 0000000..ae3d10f --- /dev/null +++ b/.github/workflows/check-pr.yml @@ -0,0 +1,23 @@ +name: Check PR + +on: + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + - uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + - name: Xcode Test + uses: devbotsxyz/xcode-test@v1.1.0 + with: + project: RFISO8601DateTime.xcodeproj + scheme: RFISO8601DateTimeTests + configuration: Debug + destination: platform=iOS Simulator,OS=latest,name=iPhone 11 + - name: Perform Cocoapod lib lint validation + run: make validate