Skip to content

Test legacy rubies on Ubuntu 20.04 #40

Test legacy rubies on Ubuntu 20.04

Test legacy rubies on Ubuntu 20.04 #40

Workflow file for this run

name: Ruby specs
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
test:
name: Specs
runs-on: ${{ matrix.os }}
strategy:
matrix:
ruby-version: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2']
channel: ['stable']
os: ubuntu-latest

Check failure on line 20 in .github/workflows/ruby.yml

View workflow run for this annotation

GitHub Actions / Ruby specs

Invalid workflow file

The workflow is not valid. .github/workflows/ruby.yml (Line: 20, Col: 13): Unexpected value 'ubuntu-latest'
include:
- ruby-version: 'head'
channel: 'experimental'
os: ubuntu-latest
- ruby-version: '1.9.3'
channel: 'stable'
os: ubuntu-20.04
- ruby-version: '2.0'
channel: 'stable'
os: ubuntu-20.04
- ruby-version: '2.1'
channel: 'stable'
os: ubuntu-20.04
- ruby-version: '2.2'
channel: 'stable'
os: ubuntu-20.04
- ruby-version: '2.3'
channel: 'stable'
os: ubuntu-20.04
continue-on-error: ${{ matrix.channel != 'stable' }}
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run specs
run: bundle exec rake