Skip to content

Commit

Permalink
Migrate repo to use GitHub Actions (#272)
Browse files Browse the repository at this point in the history
We are working on consolidating all CI to GitHub Actions.
  • Loading branch information
jasonroelofs authored Mar 28, 2024
1 parent 34230a5 commit a063b85
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on:
push:
branches:
- 'main'
pull_request: {}

defaults:
run:
shell: bash

jobs:
test:
name: Test Ruby ${{ matrix.ruby }}
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- '2.7'
- '3.0'
- '3.1'
- '3.2'
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Rubocop
run: |
bundle exec rubocop
- name: Spec
run: |
bundle exec rspec

0 comments on commit a063b85

Please sign in to comment.