File tree Expand file tree Collapse file tree 2 files changed +10
-14
lines changed
Expand file tree Collapse file tree 2 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 11version : 2.1
22
3+ orbs :
4+ macos : circleci/macos@2
5+
36jobs :
47 swift-package :
58 executor : xcode-14
@@ -57,28 +60,20 @@ commands:
5760 description : " Shared setup"
5861 steps :
5962 - checkout
60- - restore-gems
63+ - switch-ruby
6164
62- restore-gems :
63- description : " Restore Ruby Gems "
65+ switch-ruby :
66+ description : " Switch Ruby"
6467 steps :
65- - run :
66- name : Set Ruby Version
67- command : echo "ruby-3.0.6" > ~/.ruby-version
68- - restore_cache :
69- key : 1-gems-{{ checksum "Gemfile.lock" }}
70- - run : bundle check || bundle config set --local path 'vendor/bundle' && bundle install
71- - save_cache :
72- key : 1-gems-{{ checksum "Gemfile.lock" }}
73- paths :
74- - vendor/bundle
68+ - macos/switch-ruby :
69+ version : " 3.0.6"
7570
7671 lint-pod :
7772 description : " Lints podspec with specified Swift version"
7873 parameters :
7974 swift-version :
8075 type : string
81- default : " 5.0 "
76+ default : " 5.8 "
8277 steps :
8378 - run : bundle exec pod lib lint --swift-version=<< parameters.swift-version >>
8479
Original file line number Diff line number Diff line change 1+ 3.0.6
You can’t perform that action at this time.
0 commit comments