Skip to content

Commit 4ab0878

Browse files
Relaxes the version of the setup-ruby Github action
This is needed because the specific version that was being used suddenly became unusable, because Github removed the ubuntu image linked to that version. To fix the issue the action is no longer fixed to a particular version, instead it just takes v1 (the latest available within the same major).
1 parent a13a7b2 commit 4ab0878

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020
- name: Set up Ruby 2.7
21-
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
21+
uses: ruby/setup-ruby@v1
2222
with:
2323
ruby-version: 2.7.7
2424
- name: Build

.github/workflows/ruby-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
3131
# change this to (see https://github.com/ruby/setup-ruby#versioning):
3232
# uses: ruby/setup-ruby@v1
33-
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
33+
uses: ruby/setup-ruby@v1
3434
with:
3535
ruby-version: ${{ matrix.ruby-version }}
3636
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

.github/workflows/sphinx-doc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
2424
# change this to (see https://github.com/ruby/setup-ruby#versioning):
2525
# uses: ruby/setup-ruby@v1
26-
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
26+
uses: ruby/setup-ruby@v1
2727
with:
2828
ruby-version: 2.7.7
2929
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

0 commit comments

Comments
 (0)