Skip to content

Commit 72eba36

Browse files
committed
Updates verify workflow to use shared pipeline
1 parent 01c2fa7 commit 72eba36

File tree

2 files changed

+5
-42
lines changed

2 files changed

+5
-42
lines changed

.github/workflows/verify.yml

Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -25,45 +25,5 @@ on:
2525
- '*'
2626

2727
jobs:
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

rex-text.gemspec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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'
2528
end

0 commit comments

Comments
 (0)