Skip to content

Commit 23dab70

Browse files
committed
feat(github): ruby cache
1 parent 770dab8 commit 23dab70

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Reusable Ruby cache
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
rubyVersion:
7+
description: Ruby version to use
8+
default: '2.7.5'
9+
type: string
10+
required: false
11+
12+
jobs:
13+
run:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v5
17+
18+
- uses: ruby/setup-ruby@v1
19+
with:
20+
ruby-version: ${{ inputs.rubyVersion }}
21+
bundler-cache: true

0 commit comments

Comments
 (0)