File tree Expand file tree Collapse file tree 2 files changed +5
-42
lines changed
Expand file tree Collapse file tree 2 files changed +5
-42
lines changed Original file line number Diff line number Diff line change 2525 - ' *'
2626
2727jobs :
28- test :
29- runs-on : ${{ matrix.os }}
30- timeout-minutes : 40
31-
32- strategy :
33- fail-fast : true
34- matrix :
35- ruby :
36- - ' 2.7'
37- - ' 3.0'
38- - ' 3.1'
39- - ' 3.2'
40- - ' 3.3.0-preview1'
41- os :
42- - ubuntu-20.04
43- - ubuntu-latest
44- exclude :
45- - { os: ubuntu-latest, ruby: '2.7' }
46- - { os: ubuntu-latest, ruby: '3.0' }
47- test_cmd :
48- - bundle exec rspec
49-
50- env :
51- RAILS_ENV : test
52-
53- name : ${{ matrix.os }} - Ruby ${{ matrix.ruby }} - ${{ matrix.test_cmd }}
54- steps :
55- - name : Checkout code
56- uses : actions/checkout@v4
57-
58- - name : Setup Ruby
59- uses : ruby/setup-ruby@v1
60- with :
61- ruby-version : ${{ matrix.ruby }}
62- bundler-cache : true
63-
64- - name : ${{ matrix.test_cmd }}
65- run : |
66- echo "${CMD}"
67- bash -c "${CMD}"
68- env :
69- CMD : ${{ matrix.test_cmd }}
28+ build :
29+ uses : cgranleese-r7/metasploit-framework/.github/workflows/shared_gem_verify.yml@add-gem-verify-shared-pipeline
Original file line number Diff line number Diff line change @@ -22,4 +22,7 @@ Gem::Specification.new do |spec|
2222
2323 spec . add_development_dependency "rake"
2424 spec . add_development_dependency "rspec"
25+
26+ # bigdecimal is not part of the default gems starting from Ruby 3.4.0: https://www.ruby-lang.org/en/news/2023/12/25/ruby-3-3-0-released/
27+ spec . add_runtime_dependency 'bigdecimal'
2528end
You can’t perform that action at this time.
0 commit comments