Skip to content

Switch build status badge to GitHub Actions #43

Switch build status badge to GitHub Actions

Switch build status badge to GitHub Actions #43

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
permissions:
checks: write
contents: read
pull-requests: write
jobs:
rspec:
name: RSpec (ruby ${{ matrix.ruby-version }})
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
ruby-version:
- '1.9.3'
- '2.0'
- '2.1'
- '2.2'
- '2.3'
- '2.4'
- '2.5'
- '2.6'
- '2.7'
- '3.0'
- '3.1'
- '3.2'
- 'jruby-head'
- 'truffleruby-head'
env:
CI: true
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests
run: bundle exec rake