File tree Expand file tree Collapse file tree 3 files changed +35
-0
lines changed Expand file tree Collapse file tree 3 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name : rake
9
+
10
+ on : [push, pull_request]
11
+
12
+ permissions :
13
+ contents : read
14
+
15
+ jobs :
16
+ test :
17
+ strategy :
18
+ fail-fast : false
19
+ matrix :
20
+ os : [ubuntu-latest, macos-latest]
21
+ # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
22
+ ruby : ['3.3']
23
+ runs-on : ${{ matrix.os }}
24
+ steps :
25
+ - uses : actions/checkout@v4
26
+ - uses : ruby/setup-ruby@v1
27
+ with :
28
+ ruby-version : ${{ matrix.ruby }}
29
+ bundler-cache : true # runs 'bundle install' and caches installed gems automatically
30
+ - name : Run rake
31
+ run : bundle exec rake
Original file line number Diff line number Diff line change 2
2
3
3
source 'https://rubygems.org'
4
4
5
+ gem 'rake'
6
+
5
7
group :test do
6
8
gem 'rubocop' , require : false
7
9
gem 'simplecov' , require : false
Original file line number Diff line number Diff line change 14
14
prism (1.4.0 )
15
15
racc (1.8.1 )
16
16
rainbow (3.1.1 )
17
+ rake (13.2.1 )
17
18
regexp_parser (2.10.0 )
18
19
rubocop (1.77.0 )
19
20
json (~> 2.3 )
@@ -50,6 +51,7 @@ PLATFORMS
50
51
ruby
51
52
52
53
DEPENDENCIES
54
+ rake
53
55
rubocop
54
56
simplecov
55
57
simplecov-json
You can’t perform that action at this time.
0 commit comments