File tree Expand file tree Collapse file tree 7 files changed +27
-16
lines changed
Expand file tree Collapse file tree 7 files changed +27
-16
lines changed Original file line number Diff line number Diff line change 4646 npm install --global create-dmg
4747 npm install --global @bugsnag/cli
4848 brew install graphicsmagick imagemagick sentry-cli
49- cd app/fastlane && gem install bundler && bundle install
49+ - uses : ruby/setup-ruby@v1
50+ with :
51+ ruby-version : " .ruby-version"
52+ bundler-cache : true
53+ working-directory : app/fastlane
5054 - name : Load derived data cache
5155 uses : actions/cache/restore@v4
5256 with :
Original file line number Diff line number Diff line change @@ -232,8 +232,10 @@ jobs:
232232 - name : MacOS version
233233 run : sw_vers
234234 - uses : actions/checkout@v4
235- - name : Install rubocop
236- run : gem install bundler && bundle install
235+ - uses : ruby/setup-ruby@v1
236+ with :
237+ ruby-version : " .ruby-version"
238+ bundler-cache : true
237239 - name : Run linter
238240 run : ./cmd.sh lint:rb
239241 - name : Verify that `cmd lint:rb` did not change outputs (if it did, please re-run it and re-commit!)
Original file line number Diff line number Diff line change 4141 npm install --global create-dmg
4242 npm install --global @bugsnag/cli
4343 brew install graphicsmagick imagemagick sentry-cli
44- cd app/fastlane && gem install bundler && bundle install
44+ - uses : ruby/setup-ruby@v1
45+ with :
46+ ruby-version : " .ruby-version"
47+ bundler-cache : true
48+ working-directory : app/fastlane
4549 - name : Load derived data cache
4650 uses : actions/cache/restore@v4
4751 with :
Original file line number Diff line number Diff line change 4747 npm install --global create-dmg
4848 npm install --global @bugsnag/cli
4949 brew install graphicsmagick imagemagick sentry-cli
50- cd app/fastlane && gem install bundler && bundle install
50+ - uses : ruby/setup-ruby@v1
51+ with :
52+ ruby-version : " .ruby-version"
53+ bundler-cache : true
54+ working-directory : app/fastlane
5155 - name : Load SPM packages cache
5256 if : ${{ github.run_attempt == 1 }}
5357 uses : actions/cache@v4
Original file line number Diff line number Diff line change 6565 # If more Xcode specific issues arise with caching, consider the less used 3rd party https://github.com/irgaly/xcode-cache
6666 - name : Clean module cache to prevent timestamp mismatches
6767 run : rm -rf app/build/derived_data/ModuleCache.noindex
68- - name : Install fastlane dependencies
69- run : |
70- cd app/fastlane && gem install bundler && bundle install
68+ - uses : ruby/setup-ruby@v1
69+ with :
70+ ruby-version : " .ruby-version"
71+ bundler-cache : true
72+ working-directory : app/fastlane
7173 - name : Build app in Release mode
7274 run : cd app/fastlane && bundle exec fastlane mac build_release
7375 env :
Original file line number Diff line number Diff line change 4545 babosa (1.0.4 )
4646 base64 (0.3.0 )
4747 benchmark (0.4.1 )
48- bigdecimal (3.3.1 )
48+ bigdecimal (3.2.3 )
4949 claide (1.1.0 )
5050 colored (1.2 )
5151 colored2 (3.1.2 )
262262
263263PLATFORMS
264264 arm64-darwin-24
265- arm64-darwin-25
266265 ruby
267266
268267DEPENDENCIES
Original file line number Diff line number Diff line change @@ -56,12 +56,8 @@ lint_shell_command() {
5656}
5757
5858lint_ruby_command () {
59- SHELL_BIN=" ${SHELL:-/ bin/ zsh} "
60-
61- " $SHELL_BIN " -lc '
62- cd "$(git rev-parse --show-toplevel)" &&
63- git ls-files -z -- "*.rb" "*.rake" "**/Gemfile" "**/Rakefile" "**/Fastfile" | xargs -0 rubocop --autocorrect
64- '
59+ cd " $( git rev-parse --show-toplevel) " &&
60+ git ls-files -z -- " *.rb" " *.rake" " **/Gemfile" " **/Rakefile" " **/Fastfile" | xargs -0 bundle exec rubocop --autocorrect
6561}
6662
6763lint_yaml_command () {
You can’t perform that action at this time.
0 commit comments