Skip to content

Update config for Github Actions (#8) #51

Update config for Github Actions (#8)

Update config for Github Actions (#8) #51

Workflow file for this run

name: CI Workflow
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
Test-Ruby:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
ruby:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
- '3.4'
name: Ruby ${{ matrix.ruby }} running on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install Ruby
uses: ruby/setup-ruby@v1
env:
BUNDLE_WITH: development
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- name: Debug Environment
run: |
echo "Ruby version: $(ruby -v)"
echo "Bundler version: $(bundle -v)"
- name: Run CI pipeline for the gem
run: bin/check