Skip to content

Upgrade ruby to 3.2.2, replace lunr.js with algolia search #19

Upgrade ruby to 3.2.2, replace lunr.js with algolia search

Upgrade ruby to 3.2.2, replace lunr.js with algolia search #19

name: Detect Ruby Version Mismatch
on:
workflow_dispatch:
pull_request:
branches: [master]
paths:
- 'readme.md'
- '.ruby-version'
jobs:
check_ruby_version:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Verify Ruby version in readme.md matches .ruby-version
run: |
RUBY_VERSION=$(cat .ruby-version)
grep -- "- Ruby $RUBY_VERSION" readme.md