Skip to content

attempt to use spec cdn #67

attempt to use spec cdn

attempt to use spec cdn #67

Workflow file for this run

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
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: Configure CocoaPods to use CDN
run: |
pod repo remove master
echo 'source "https://cdn.cocoapods.org/"' > ~/.cocoapods/repos/trunk/SOURCE
- name: Run tests
run: bundle exec fastlane scan --verbose