attempt to use spec cdn #72
Workflow file for this run
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: Lint & Tests | |
on: [pull_request] | |
jobs: | |
lint: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install swiftlint | |
run: brew install swiftlint || brew upgrade swiftlint | |
- name: Run linting | |
run: swiftlint lint --strict | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.2' | |
bundler-cache: true | |
- name: Install cocoapods | |
run: gem install cocoapods | |
test: | |
runs-on: macos-14 | |
permissions: | |
checks: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install XCode | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: "15" | |
- name: Get XCode schemes | |
run: xcrun xcodebuild -list | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.2' | |
bundler-cache: true | |
- name: Install cocoapods | |
run: gem install cocoapods | |
- name: Run tests | |
run: bundle exec fastlane scan --verbose |