Skip to content

Commit fba85e2

Browse files
authored
Merge pull request #1022 from kenyon/newer-ruby
GitHub workflows: use latest stable ruby-version
2 parents cd097b7 + 765db42 commit fba85e2

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup ruby
2020
uses: ruby/setup-ruby@v1
2121
with:
22-
ruby-version: 2.7
22+
ruby-version: ruby
2323
bundler-cache: true
2424
- name: Run msync --noop
2525
run: bundle exec msync update --noop --git-base=https://github.com/ --branch foobranch
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup ruby
3232
uses: ruby/setup-ruby@v1
3333
with:
34-
ruby-version: 2.7
34+
ruby-version: ruby
3535
bundler-cache: true
3636
- name: Run msync --noop
3737
run: bundle exec msync clone --git-base=https://github.com/
@@ -44,7 +44,7 @@ jobs:
4444
- name: Setup ruby
4545
uses: ruby/setup-ruby@v1
4646
with:
47-
ruby-version: 2.7
47+
ruby-version: ruby
4848
bundler-cache: true
4949
- name: Run msync --noop
5050
run: bundle exec msync clone --git-base=https://github.com/

.github/workflows/update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Setup ruby
4141
uses: ruby/setup-ruby@v1
4242
with:
43-
ruby-version: 3.4
43+
ruby-version: ruby
4444
bundler-cache: true
4545
- name: Add SSH key
4646
run: |

bin/outdated_modules_and_their_version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ width_modules = 6
1212
# min width is width of String "modulesync_config version"
1313
width_version = 25
1414
Dir.glob('modules/voxpupuli/puppet-*').sort.each do |f|
15-
if File.exists?(f + '/.msync.yml')
15+
if File.exist?(f + '/.msync.yml')
1616
version_module = YAML.load_file(f + '/.msync.yml')['modulesync_config_version']
1717
mod = (f).split('/')[2]
1818
if version != version_module

0 commit comments

Comments
 (0)