Skip to content

Commit

Permalink
Merge pull request #28 from olleolleolle/patch-2
Browse files Browse the repository at this point in the history
CI: use GitHub Actions
  • Loading branch information
Ewarren7 authored Dec 4, 2023
2 parents 19b8bf1 + 230ff7b commit 60b25ea
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
push:
pull_request:

jobs:
test:

runs-on: ubuntu-latest

strategy:
matrix:
ruby-version:
- 3.2
- 3.1
- "3.0"

steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
run: bundle exec rspec

0 comments on commit 60b25ea

Please sign in to comment.