File tree Expand file tree Collapse file tree 3 files changed +28
-1
lines changed
Expand file tree Collapse file tree 3 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Exec Rspec
2+ on : [push]
3+
4+ jobs :
5+ test :
6+ strategy :
7+ fail-fast : false
8+ matrix :
9+ ruby_version :
10+ - 3.0
11+ - 3.1
12+ - 3.2
13+ runs-on : ubuntu-22.04
14+ steps :
15+ - name : Check out repository code
16+ uses : actions/checkout@v4
17+ - name : Set up Ruby
18+ uses : ruby/setup-ruby@v1
19+ with :
20+ ruby-version : ' ${{ matrix.ruby_version }}'
21+ bundler : latest
22+ bundler-cache : true
23+ - name : Run sample
24+ run : bundle exec ruby example/sample.rb
25+ - name : Run RSpec
26+ run : RUBYOPT='-W:deprecated' bundle exec rspec spec
Original file line number Diff line number Diff line change 1212* .o
1313* .a
1414mkmf.log
15+ .ruby-version
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ def load_config_dir(pattern)
5656 end
5757
5858 def load_from_yaml ( yaml )
59- config = YAML . load ( yaml )
59+ config = YAML . safe_load ( yaml , permitted_classes : [ Symbol ] , aliases : true )
6060 config . each do |role , config |
6161 instance << role_klass ( config ) . new ( role , config )
6262 end
You can’t perform that action at this time.
0 commit comments