File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ scriptsbundle install
2+ bundle exec rubocopbundle install
3+ bundle exec rubocopscripts
4+ # This workflow uses actions that are not certified by GitHub.
5+ # They are provided by a third-party and are governed by
6+ # separate terms of service, privacy policy, and support
7+ # documentation.
8+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
9+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
10+
11+ name : Ruby
12+
13+ on :
14+ push :
15+ branches : [ "main" ]
16+ pull_request :
17+ branches : [ "main" ]
18+
19+ permissions :
20+ contents : read
21+
22+ jobs :
23+ test :
24+
25+ runs-on : ubuntu-latest
26+ strategy :
27+ matrix :
28+ ruby-version : ['2.6', '2.7', '3.0']
29+
30+ steps :
31+ - uses : actions/checkout@v4
32+ - name : Set up Ruby
33+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
34+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
35+ # uses: ruby/setup-ruby@v1
36+ uses : ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
37+ with :
38+ ruby-version : ${{ matrix.ruby-version }}
39+ bundler-cache : true # runs 'bundle install' and caches installed gems automatically
40+ - name : Run tests
41+ run : bundle exec rake
You can’t perform that action at this time.
0 commit comments