Skip to content

Commit

Permalink
Add workflow file for GitHub Actions CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bhaak committed Feb 24, 2025
1 parent 2250970 commit 82f1e43
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Ruby

on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
# uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
run: bundle exec rake spec

0 comments on commit 82f1e43

Please # to comment.