Skip to content

Commit 75e28fc

Browse files
authored
Merge pull request #84 from rubocop/ci-use-latest-ruby
CI: Use latest Ruby where possible
2 parents 59c3926 + 6a1de74 commit 75e28fc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v6
1919
- uses: ruby/setup-ruby@v1
2020
with:
21-
ruby-version: "4.0"
21+
ruby-version: ruby
2222
bundler-cache: true
2323
- run: bundle exec rake confirm_config documentation_syntax_check confirm_documentation
2424

@@ -55,7 +55,7 @@ jobs:
5555
- uses: actions/checkout@v6
5656
- uses: ruby/setup-ruby@v1
5757
with:
58-
ruby-version: "4.0"
58+
ruby-version: ruby
5959
bundler-cache: true
6060
- run: bundle exec rake spec
6161

@@ -74,7 +74,7 @@ jobs:
7474
echo "gem 'rubocop', github: 'rubocop/rubocop'" > Gemfile.local
7575
- uses: ruby/setup-ruby@v1
7676
with:
77-
ruby-version: "4.0"
77+
ruby-version: ruby
7878
bundler-cache: true
7979
- run: NO_COVERAGE=true bundle exec rake ${{ matrix.task }}
8080

@@ -94,7 +94,7 @@ jobs:
9494
echo "gem 'rubocop-rspec', github: 'rubocop/rubocop-rspec'" > Gemfile.local
9595
- uses: ruby/setup-ruby@v1
9696
with:
97-
ruby-version: "4.0"
97+
ruby-version: ruby
9898
bundler-cache: true
9999
- run: NO_COVERAGE=true bundle exec rake ${{ matrix.task }}
100100

@@ -115,6 +115,6 @@ jobs:
115115
EOF
116116
- uses: ruby/setup-ruby@v1
117117
with:
118-
ruby-version: "4.0"
118+
ruby-version: ruby
119119
bundler-cache: true
120120
- run: NO_COVERAGE=true bundle exec rake spec

0 commit comments

Comments
 (0)