use 2.6 for github actions

This commit is contained in:
Michael Ball 2021-03-08 03:05:01 -08:00
parent 061cb3e670
commit f3401c46f8

View file

@ -11,12 +11,12 @@ jobs:
linters: linters:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
OSEM_RUBY_VERSION: 2.5.8 OSEM_RUBY_VERSION: 2.6.6
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1 - uses: ruby/setup-ruby@v1
with: with:
ruby-version: 2.5 ruby-version: 2.6
bundler-cache: true bundler-cache: true
- run: bundle exec rubocop - run: bundle exec rubocop
- run: bundle exec haml-lint app/views - run: bundle exec haml-lint app/views
@ -26,7 +26,7 @@ jobs:
name: spec name: spec
env: env:
OSEM_DB_ADAPTER: sqlite3 OSEM_DB_ADAPTER: sqlite3
OSEM_RUBY_VERSION: 2.5.8 OSEM_RUBY_VERSION: 2.6.6
RAILS_ENV: test RAILS_ENV: test
strategy: strategy:
matrix: matrix:
@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1 - uses: ruby/setup-ruby@v1
with: with:
ruby-version: 2.5 ruby-version: 2.6
bundler-cache: true bundler-cache: true
- name: Prepare spec - name: Prepare spec
run: | run: |