Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
beard-programmer committed Oct 31, 2023
1 parent ea70e02 commit be8b54f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Ruby CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2.2'

- name: Install dependencies
run: |
gem install bundler
bundle install --jobs 4 --retry 3
- name: Run RuboCop
run: bundle exec rubocop

- name: Run RSpec
run: bundle exec rspec

0 comments on commit be8b54f

Please sign in to comment.