Skip to content

Commit

Permalink
Configure GitHub Actions CI (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvasilevski authored Apr 21, 2022
1 parent 7018b88 commit 1fef0ba
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby: ["2.7", "3.0", "3.1"]
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
- name: Ruby Tests
run: bundle exec rake test
- name: RuboCop
run: bundle exec rubocop

0 comments on commit 1fef0ba

Please sign in to comment.