Skip to content

Commit ddb553f

Browse files
authored
Merge pull request #55 from rubyatscale/update-ruby-ci-matrix
Modernize CI: update Ruby matrix, bundler, and workflow triggers
2 parents fb4b97d + 93ec43b commit ddb553f

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,27 @@
11
name: CI Test
2-
on: [ push ]
2+
on: [push, pull_request]
33
jobs:
44
build:
55
name: Ruby ${{ matrix.ruby }}
66
runs-on: ubuntu-latest
77
strategy:
88
fail-fast: false
99
matrix:
10-
include:
11-
- ruby: 3.2
12-
bundler_version: 2.4.4
13-
- ruby: 3.1
14-
bundler_version: 2.4.4
15-
- ruby: 3.0
16-
bundler_version: 2.4.4
17-
- ruby: 2.7
18-
bundler_version: 2.4.4
10+
ruby:
11+
- 3.2
12+
- 3.3
13+
- 3.4
14+
- 4.0
1915
env:
2016
CI: 1
21-
BUNDLER_VERSION: ${{ matrix.bundler_version }}
2217
USE_OFFICIAL_GEM_SOURCE: 1
2318
steps:
2419
- uses: actions/checkout@v3
2520
- uses: ruby/setup-ruby@v1
2621
with:
2722
ruby-version: ${{ matrix.ruby }}
2823
- name: Install bundler
29-
run: gem install bundler -v $BUNDLER_VERSION
24+
run: gem install bundler
3025
- name: Install dependencies
3126
run: bundle install
3227
- run: bundle exec rspec

singed.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
88
spec.authors = ["Josh Nichols"]
99
spec.email = ["josh.nichols@gusto.com"]
1010
spec.summary = "Quick and easy way to get flamegraphs from a specific part of your code base"
11-
spec.required_ruby_version = ">= 2.7.0"
11+
spec.required_ruby_version = ">= 3.2.0"
1212
spec.homepage = "https://github.com/rubyatscale/singed"
1313
spec.metadata = {
1414
"source_code_uri" => "https://github.com/rubyatscale/singed",

0 commit comments

Comments
 (0)