mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Move ruby testing to GH Actions & fix linting
This commit is contained in:
parent
b6c4139be4
commit
d2efca732c
7 changed files with 29 additions and 30 deletions
20
.github/workflows/ruby.yml
vendored
Normal file
20
.github/workflows/ruby.yml
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
name: Ruby
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
ruby_testing:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
|
||||
ruby: ['2.6', '2.7', '3.0', '3.1']
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
||||
- run: bundle exec rake tests
|
||||
Loading…
Add table
Add a link
Reference in a new issue