Skip to content

Commit

Permalink
feat: Add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniela Lemow committed Oct 12, 2023
1 parent c6943aa commit 8b8bd09
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Ruby CI

on:
pull_request:
push:
branches:
- main

pull_request:

jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- '2.5.1'
- '2.6.5'

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}

- name: Install Bundler
run: gem install bundler -v 2.1.4

- name: Install dependencies
run: bundle install

0 comments on commit 8b8bd09

Please sign in to comment.