File tree 2 files changed +31
-1
lines changed
2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
2
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
3
+ name : Ruby
4
+
5
+ on :
6
+ push :
7
+ branches : [ "main" ]
8
+ pull_request :
9
+ branches : [ "main" ]
10
+
11
+ permissions :
12
+ contents : read
13
+
14
+ jobs :
15
+ test :
16
+
17
+ runs-on : ubuntu-latest
18
+ strategy :
19
+ matrix :
20
+ ruby-version : [ '3.1', '3.2', '3.3' ]
21
+
22
+ steps :
23
+ - uses : actions/checkout@v4
24
+ - name : Set up Ruby
25
+ uses : ruby/setup-ruby@v1
26
+ with :
27
+ ruby-version : ${{ matrix.ruby-version }}
28
+ bundler-cache : true # runs 'bundle install' and caches installed gems automatically
29
+ - name : Run tests
30
+ run : bundle exec rake
Original file line number Diff line number Diff line change @@ -18,5 +18,5 @@ Gem::Specification.new do |spec|
18
18
spec . metadata [ "homepage_uri" ] = "https://github.com/instruct-rb/attributed-string"
19
19
20
20
21
- spec . required_ruby_version = ">= 3.2.3 "
21
+ spec . required_ruby_version = ">= 3.1 "
22
22
end
You can’t perform that action at this time.
0 commit comments