Skip to content

GEM

GEM #4

Workflow file for this run

name: Ruby
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: macos-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- '3.1.2'
steps:
- uses: actions/checkout@v4
- name: List directory contents
run: ls -R codemonkey/
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Verify Ruby version
run: ruby -v
- name: Install dependencies
run: bundle install --gemfile=codemonkey/Gemfile
- name: Run the default task
run: bundle exec rake --gemfile=codemonkey/Gemfile --rakefile=codemonkey/Rakefile