Skip to content

Commit

Permalink
Replace travis with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ebeigarts committed Feb 21, 2024
1 parent 0c9d678 commit b1a6d1c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 9 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Ruby

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ["3.1", "3.2", "3.3"]
rails-version: ["6.1.0", "7.0.0", "7.1.0"]

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
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 rake
env:
RAILS_VERSION: ${{ matrix.rails-version }}
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

0 comments on commit b1a6d1c

Please sign in to comment.