Quote ruby versions in yaml
Without quotes these are parsed as numbers, which can cause subtle problems. For example, "ruby: 3.0" is interpreted by the ruby/setup-rubyaction as "ruby: 3", meaning 3.x instead of the intended 3.0.x
This commit is contained in:
parent
88b4555472
commit
61e0fa5f63
2 changed files with 2 additions and 2 deletions
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
@ -7,7 +7,7 @@ concurrency:
|
|||
cancel-in-progress: true
|
||||
env:
|
||||
os: ubuntu-20.04
|
||||
ruby: 2.7
|
||||
ruby: '2.7'
|
||||
jobs:
|
||||
rubocop:
|
||||
name: RuboCop
|
||||
|
|
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -11,7 +11,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
ubuntu: [20.04, 22.04]
|
||||
ruby: [2.7, 3.0, 3.1]
|
||||
ruby: ['2.7', '3.0', '3.1']
|
||||
runs-on: ubuntu-${{ matrix.ubuntu }}
|
||||
env:
|
||||
RAILS_ENV: test
|
||||
|
|
Loading…
Add table
Reference in a new issue