File tree Expand file tree Collapse file tree 2 files changed +18
-19
lines changed Expand file tree Collapse file tree 2 files changed +18
-19
lines changed Original file line number Diff line number Diff line change 1- name : " setup ruby"
2- description : " setup ruby"
3-
1+ name : setup ruby
2+ description : setup ruby
43runs :
5- using : " composite"
4+ using : composite
65 steps :
76 - name : Set up Ruby
87 uses : ruby/setup-ruby@v1
98 with :
109 bundler-cache : true
11- working-directory : ./2024/ruby
Original file line number Diff line number Diff line change @@ -12,20 +12,21 @@ defaults:
1212 working-directory : ./2021/ruby
1313
1414jobs :
15+ lint :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v3
19+ - name : debug
20+ run : pwd
21+ - name : Setup Ruby
22+ uses : ./.github/shared/setup
23+ - name : Run rubocop
24+ run : bundle exec rubocop
1525 tests :
1626 runs-on : ubuntu-latest
1727 steps :
18- - uses : actions/checkout@v3
19- - name : Determine ruby version
20- id : determine-ruby-version
21- run : |
22- VERSION=$(cat .ruby-version)
23- echo "VERSION=${VERSION}" >> "$GITHUB_OUTPUT"
24- - name : Set up Ruby
25- uses : ruby/setup-ruby@v1
26- with :
27- ruby-version : ${{ steps.determine-ruby-version.outputs.VERSION }}
28- bundler-cache : true
29- working-directory : ./2021/ruby
30- - name : Run tests
31- run : bundle exec rspec
28+ - uses : actions/checkout@v3
29+ - name : Setup Ruby
30+ uses : ./.github/shared/setup
31+ - name : Run tests
32+ run : bundle exec rspec
You can’t perform that action at this time.
0 commit comments