File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " bundler"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
7+ - package-ecosystem : " github-actions"
8+ directory : " /"
9+ schedule :
10+ interval : " weekly"
Original file line number Diff line number Diff line change 11name : Ruby
22
3- on : [push,pull_request]
3+ on : [push, pull_request]
44
55jobs :
6- build :
6+ lint :
7+ name : RuboCop
78 runs-on : ubuntu-latest
89 steps :
9- - uses : actions/checkout@v2
10- - name : Set up Ruby
11- uses : ruby/setup-ruby@v1
12- with :
13- ruby-version : 3.0.1
14- - name : Run the default task
15- run : |
16- gem install bundler -v 2.2.15
17- bundle install
18- bundle exec rake
10+ - uses : actions/checkout@v4
11+ - uses : ruby/setup-ruby@v1
12+ with :
13+ ruby-version : " 3.2"
14+ bundler-cache : true
15+ - name : Run RuboCop
16+ run : bundle exec rubocop
17+
18+ test :
19+ name : RSpec (Ruby ${{ matrix.ruby }})
20+ runs-on : ubuntu-latest
21+ strategy :
22+ matrix :
23+ ruby : ["3.1", "3.2", "3.3"]
24+ steps :
25+ - uses : actions/checkout@v4
26+ - uses : ruby/setup-ruby@v1
27+ with :
28+ ruby-version : ${{ matrix.ruby }}
29+ bundler-cache : true
30+ - name : Run RSpec
31+ run : bundle exec rspec
You can’t perform that action at this time.
0 commit comments