Merge pull request #3860 from gravitystorm/yaml_quoting

Quote ruby versions in yaml
This commit is contained in:
Andy Allan 2022-12-28 14:05:11 +00:00 committed by GitHub
commit e69716ca05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
env: env:
os: ubuntu-20.04 os: ubuntu-20.04
ruby: 2.7 ruby: '2.7'
jobs: jobs:
rubocop: rubocop:
name: RuboCop name: RuboCop

View file

@ -11,7 +11,7 @@ jobs:
strategy: strategy:
matrix: matrix:
ubuntu: [20.04, 22.04] ubuntu: [20.04, 22.04]
ruby: [2.7, 3.0, 3.1] ruby: ['2.7', '3.0', '3.1']
runs-on: ubuntu-${{ matrix.ubuntu }} runs-on: ubuntu-${{ matrix.ubuntu }}
env: env:
RAILS_ENV: test RAILS_ENV: test