Skip to content

Commit 53d1094

Browse files
authored
Use strings for ruby versions in github action (#197)
Avoid `3.0` parsing as ruby 3 and installing 3.x, instead use `'3.0'` to fix the minor
1 parent edfbe1b commit 53d1094

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/rspec_rubocop.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
strategy:
1919
matrix:
2020
include: # use bundler 2.3 for ruby versions < 2.6 (https://bundler.io/compatibility.html)
21-
- ruby-version: 2.6
21+
- ruby-version: '2.6'
2222
bundler-version: latest
23-
- ruby-version: 2.7
23+
- ruby-version: '2.7'
2424
bundler-version: latest
25-
- ruby-version: 3.0
25+
- ruby-version: '3.0'
2626
bundler-version: latest
27-
- ruby-version: 3.1
27+
- ruby-version: '3.1'
2828
bundler-version: latest
2929
steps:
3030
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)