Skip to content

Commit

Permalink
Use github actions instead of travis-ci. (#43)
Browse files Browse the repository at this point in the history
* Create ruby.yml - add GitHub actions

* rm .travis.yml
  • Loading branch information
leklund authored Oct 30, 2023
1 parent c666d66 commit c618525
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 10 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Ruby

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
test:

runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.7', '3.0', '3.1', '3.2']

steps:
- uses: actions/checkout@v3
- 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
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

0 comments on commit c618525

Please sign in to comment.