Skip to content

Merge pull request #11 from useblacksmith/bump-cache-version-3.2.213-… #21

Merge pull request #11 from useblacksmith/bump-cache-version-3.2.213-…

Merge pull request #11 from useblacksmith/bump-cache-version-3.2.213-… #21

Workflow file for this run

name: Ruby Setup and Version Check
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
test:
runs-on: blacksmith-staging
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: useblacksmith/setup-ruby@v2
with:
ruby-version: 3.3.4
- name: Verify Ruby version
run: |
installed_version=$(ruby -v | cut -d' ' -f2)
if [ "$installed_version" = "3.3.4" ]; then
echo "Ruby version is correct: $installed_version"
else
echo "Ruby version is incorrect. Expected 3.3.4, but got $installed_version"
exit 1
fi