Declare ruby version globally (#80)

This commit is contained in:
Patrick Honkonen 2024-05-03 16:14:01 -04:00 committed by GitHub
parent f546bd2640
commit 6da31f797d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 5 deletions

View File

@ -13,7 +13,6 @@ on:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JAVA_VERSION: 17 JAVA_VERSION: 17
RUBY_VERSION: 3.3.1
jobs: jobs:
check: check:
@ -60,7 +59,6 @@ jobs:
uses: ruby/setup-ruby@1198b074305f9356bd56dd4b311757cc0dab2f1c # v1.175.1 uses: ruby/setup-ruby@1198b074305f9356bd56dd4b311757cc0dab2f1c # v1.175.1
with: with:
bundler-cache: true bundler-cache: true
ruby-version: ${{ env.RUBY_VERSION }}
- name: Install Fastlane - name: Install Fastlane
run: | run: |
@ -120,7 +118,6 @@ jobs:
uses: ruby/setup-ruby@1198b074305f9356bd56dd4b311757cc0dab2f1c # v1.175.1 uses: ruby/setup-ruby@1198b074305f9356bd56dd4b311757cc0dab2f1c # v1.175.1
with: with:
bundler-cache: true bundler-cache: true
ruby-version: ${{ env.RUBY_VERSION }}
- name: Install Fastlane - name: Install Fastlane
run: | run: |

1
.ruby-version Normal file
View File

@ -0,0 +1 @@
3.3.1

View File

@ -1,7 +1,8 @@
source "https://rubygems.org" source "https://rubygems.org"
ruby '3.3.1' ruby File.read(".ruby-version").strip
gem "fastlane" gem "fastlane"
gem "time"
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile') plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path) eval_gemfile(plugins_path) if File.exist?(plugins_path)

View File

@ -10,7 +10,7 @@ GEM
artifactory (3.0.17) artifactory (3.0.17)
atomos (0.1.3) atomos (0.1.3)
aws-eventstream (1.3.0) aws-eventstream (1.3.0)
aws-partitions (1.922.0) aws-partitions (1.923.0)
aws-sdk-core (3.194.0) aws-sdk-core (3.194.0)
aws-eventstream (~> 1, >= 1.3.0) aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0) aws-partitions (~> 1, >= 1.651.0)
@ -32,6 +32,7 @@ GEM
colored2 (3.1.2) colored2 (3.1.2)
commander (4.6.0) commander (4.6.0)
highline (~> 2.0.0) highline (~> 2.0.0)
date (3.3.4)
declarative (0.0.20) declarative (0.0.20)
digest-crc (0.6.5) digest-crc (0.6.5)
rake (>= 12.0.0, < 14.0.0) rake (>= 12.0.0, < 14.0.0)
@ -194,6 +195,8 @@ GEM
terminal-notifier (2.0.0) terminal-notifier (2.0.0)
terminal-table (3.0.2) terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3) unicode-display_width (>= 1.1.1, < 3)
time (0.3.0)
date
trailblazer-option (0.1.2) trailblazer-option (0.1.2)
tty-cursor (0.7.1) tty-cursor (0.7.1)
tty-screen (0.8.2) tty-screen (0.8.2)
@ -221,6 +224,7 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
fastlane fastlane
fastlane-plugin-firebase_app_distribution fastlane-plugin-firebase_app_distribution
time
RUBY VERSION RUBY VERSION
ruby 3.3.1p55 ruby 3.3.1p55