Declare ruby version globally (#1333)

This commit is contained in:
Patrick Honkonen 2024-05-02 19:28:56 -04:00 committed by Álison Fernandes
parent ca63dae948
commit 9763db4508
4 changed files with 6 additions and 7 deletions

View file

@ -7,7 +7,6 @@ on:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JAVA_VERSION: 17 JAVA_VERSION: 17
RUBY_VERSION: 3.2.2
jobs: jobs:
test: test:
@ -40,7 +39,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: Configure JDK - name: Configure JDK
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1 uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1

1
.ruby-version Normal file
View file

@ -0,0 +1 @@
3.3.1

View file

@ -1,6 +1,6 @@
source "https://rubygems.org" source "https://rubygems.org"
ruby '3.2.2' ruby File.read(".ruby-version").strip
gem 'danger' gem 'danger'
gem 'danger-shroud' gem 'danger-shroud'

View file

@ -43,12 +43,12 @@ GEM
rexml rexml
kramdown-parser-gfm (1.1.0) kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0) kramdown (~> 2.0)
mini_portile2 (2.8.5) mini_portile2 (2.8.6)
nap (1.1.0) nap (1.1.0)
net-http (0.4.1) net-http (0.4.1)
uri uri
no_proxy_fix (0.1.2) no_proxy_fix (0.1.2)
nokogiri (1.16.3) nokogiri (1.16.4)
mini_portile2 (~> 2.8.2) mini_portile2 (~> 2.8.2)
racc (~> 1.4) racc (~> 1.4)
octokit (8.1.0) octokit (8.1.0)
@ -56,7 +56,7 @@ GEM
faraday (>= 1, < 3) faraday (>= 1, < 3)
sawyer (~> 0.9) sawyer (~> 0.9)
open4 (1.3.4) open4 (1.3.4)
public_suffix (5.0.4) public_suffix (5.0.5)
racc (1.7.3) racc (1.7.3)
rchardet (1.8.0) rchardet (1.8.0)
rexml (3.2.6) rexml (3.2.6)
@ -76,7 +76,7 @@ DEPENDENCIES
danger-shroud danger-shroud
RUBY VERSION RUBY VERSION
ruby 3.2.2p53 ruby 3.3.1p55
BUNDLED WITH BUNDLED WITH
2.4.10 2.4.10