diff --git a/.github/actions/reusable-setup/action.yaml b/.github/actions/reusable-setup/action.yaml index 41039e2e..a4e004c9 100644 --- a/.github/actions/reusable-setup/action.yaml +++ b/.github/actions/reusable-setup/action.yaml @@ -35,16 +35,9 @@ runs: if: steps.node_modules-cache.outputs.cache-hit != 'true' run: pnpm install --frozen-lockfile - - name: Use Ruby v3.3.6 + - name: Set up Ruby if: ${{ inputs.bundle == 'true' }} - uses: ruby/setup-ruby@a0102e0972be65f351c307e2d64b9314a57c8073 # v1.324.0 + uses: ruby/setup-ruby@145243922b4465b78e04dd66294782c7de45901f # v1.345.0 with: - ruby-version: '3.3.6' + working-directory: apps/throwl bundler-cache: true - - # IMPORTANT: Gemfile moved to apps/throwl, so bundle install must run there - - name: Install bundle - shell: bash - if: ${{ inputs.bundle == 'true' }} - working-directory: apps/throwl - run: bundle install --jobs 4 --retry 3 diff --git a/.github/workflows/release-throwl.yaml b/.github/workflows/release-throwl.yaml index 38426066..4389c081 100644 --- a/.github/workflows/release-throwl.yaml +++ b/.github/workflows/release-throwl.yaml @@ -54,7 +54,7 @@ jobs: permissions: contents: read with: - # Ruby 3.3.6 is unavailable on the Ubuntu 26.04 runner. + # Pin the runner image for reproducible Android release builds. os: ubuntu-24.04 working_directory: apps/throwl/android store: Google Play Store diff --git a/apps/throwl/.ruby-version b/apps/throwl/.ruby-version index 9c25013d..4efd0fb8 100644 --- a/apps/throwl/.ruby-version +++ b/apps/throwl/.ruby-version @@ -1 +1 @@ -3.3.6 +3.3.14 diff --git a/apps/throwl/Gemfile b/apps/throwl/Gemfile index be7519f0..48c8d1e6 100644 --- a/apps/throwl/Gemfile +++ b/apps/throwl/Gemfile @@ -1,6 +1,6 @@ source "https://rubygems.org" -ruby "3.3.6" +ruby file: ".ruby-version" gem "fastlane" diff --git a/apps/throwl/Gemfile.lock b/apps/throwl/Gemfile.lock index 67171766..ac0753e3 100644 --- a/apps/throwl/Gemfile.lock +++ b/apps/throwl/Gemfile.lock @@ -354,7 +354,7 @@ DEPENDENCIES xcodeproj (< 1.26.0) RUBY VERSION - ruby 3.3.6p108 + ruby 3.3.14p208 BUNDLED WITH 2.5.22