Skip to content

Commit

Permalink
ci: add GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nishidayuya committed Apr 10, 2024
1 parent 3832f80 commit b6d62b4
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: ci

on:
- pull_request
- push

jobs:
build:
strategy:
fail-fast: false
matrix:
ruby:
- 2.7
- 3.0
- 3.1
- 3.2
- 3.3
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install --jobs $(nproc) --retry 3
- name: Run rake
run: bundle exec rake

0 comments on commit b6d62b4

Please sign in to comment.