Skip to content

Commit

Permalink
Setup CI on Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshenny committed Apr 3, 2024
1 parent c2d955d commit b2a635f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby: ["2.6", "2.7", "3.0", "3.1", "3.2", "3.3"]
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
bundler: latest
- name: Ruby Tests
run: bundle exec rake test

0 comments on commit b2a635f

Please sign in to comment.