Skip to content

Commit 67f3179

Browse files
committed
Update ruby versions in github rspec
1 parent b73bc68 commit 67f3179

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/pages.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,10 @@ jobs:
3434
- name: Checkout
3535
uses: actions/checkout@v4
3636
- name: Setup Ruby
37-
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
37+
uses: ruby/setup-ruby@v1
3838
with:
39-
ruby-version: '3.1' # Not needed with a .ruby-version file
40-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
41-
cache-version: 0 # Increment this number if you need to re-download cached gems
39+
ruby-version: head
40+
bundler-cache: true
4241
- name: Setup Pages
4342
id: pages
4443
uses: actions/configure-pages@v5

.github/workflows/rspec.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
ruby-version: ["3.0", "3.1", "3.2", head]
23+
ruby: ["3.1", "3.2", "3.3", head]
2424
steps:
2525
- uses: actions/checkout@v4
2626
- name: Set up Ruby
2727
uses: ruby/setup-ruby@v1
2828
with:
29-
ruby-version: ${{ matrix.ruby-version }}
29+
ruby-version: ${{ matrix.ruby }}
3030
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
3131
- name: Run specs
3232
run: bundle exec rspec

0 commit comments

Comments
 (0)