Skip to content

Commit 924d671

Browse files
committed
(maint) Pin Ruby versions in GHA workflows
1 parent 8aaf57f commit 924d671

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/checks.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
strategy:
1414
matrix:
1515
cfg:
16-
- {check: rubocop, os: ubuntu-18.04, ruby: 2.5}
17-
- {check: commits, os: ubuntu-18.04, ruby: 2.5}
18-
- {check: warnings, os: ubuntu-18.04, ruby: 2.5}
16+
- {check: rubocop, os: ubuntu-18.04, ruby: '2.5'}
17+
- {check: commits, os: ubuntu-18.04, ruby: '2.5'}
18+
- {check: warnings, os: ubuntu-18.04, ruby: '2.5'}
1919

2020
runs-on: ${{ matrix.cfg.os }}
2121
steps:

.github/workflows/rspec_tests.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
strategy:
1414
matrix:
1515
cfg:
16-
- {os: ubuntu-18.04, ruby: 2.5}
17-
- {os: ubuntu-18.04, ruby: 2.6}
18-
- {os: ubuntu-18.04, ruby: 2.7}
19-
- {os: ubuntu-18.04, ruby: 3.0}
20-
- {os: ubuntu-18.04, ruby: jruby-9.2.17.0}
21-
- {os: windows-2019, ruby: 2.5}
22-
- {os: windows-2019, ruby: 2.6}
23-
- {os: windows-2019, ruby: 2.7}
24-
- {os: windows-2019, ruby: 3.0}
16+
- {os: ubuntu-18.04, ruby: '2.5'}
17+
- {os: ubuntu-18.04, ruby: '2.6'}
18+
- {os: ubuntu-18.04, ruby: '2.7'}
19+
- {os: ubuntu-18.04, ruby: '3.0'}
20+
- {os: ubuntu-18.04, ruby: 'jruby-9.2.17.0'}
21+
- {os: windows-2019, ruby: '2.5'}
22+
- {os: windows-2019, ruby: '2.6'}
23+
- {os: windows-2019, ruby: '2.7'}
24+
- {os: windows-2019, ruby: '3.0'}
2525

2626
runs-on: ${{ matrix.cfg.os }}
2727
steps:

0 commit comments

Comments
 (0)