File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1
1
name : setup ruby
2
2
description : setup ruby
3
+ inputs :
4
+ working-directory :
5
+ description : directory to use
6
+ required : true
3
7
runs :
4
8
using : composite
5
9
steps :
6
10
- name : Set up Ruby
7
11
uses : ruby/setup-ruby@v1
8
12
with :
9
13
bundler-cache : true
14
+ working-directory : ${{ inputs.working-directory }}
Original file line number Diff line number Diff line change 20
20
run : pwd
21
21
- name : Setup Ruby
22
22
uses : ./.github/shared/setup
23
+ with :
24
+ working-directory : ./2021/ruby
23
25
- name : Run rubocop
24
26
run : bundle exec rubocop
25
27
tests :
28
30
- uses : actions/checkout@v3
29
31
- name : Setup Ruby
30
32
uses : ./.github/shared/setup
33
+ with :
34
+ working-directory : ./2021/ruby
31
35
- name : Run tests
32
36
run : bundle exec rspec
You can’t perform that action at this time.
0 commit comments