Skip to content

Commit

Permalink
Merge pull request #81 from eduvo/github-action
Browse files Browse the repository at this point in the history
add github action
  • Loading branch information
heliocola authored Jan 12, 2024
2 parents 8297da8 + 6c672b0 commit 789d932
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Ruby

on: [push, pull_request]

jobs:
build:
name: build (${{ matrix.ruby }})
strategy:
matrix:
ruby: [2.7, 3.0, 3.1, 3.2]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install apt dependencies
run: sudo apt-get install -y ragel
- name: Install dependencies
run: bundle install
- name: Install native extensions
run: bundle exec rake compile
- name: Run test
run: rspec

0 comments on commit 789d932

Please sign in to comment.