File tree 7 files changed +25
-123
lines changed
7 files changed +25
-123
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
1
4
- name : Ruby 3.3
2
+ name : Build
5
3
6
4
on :
7
5
push :
11
9
12
10
jobs :
13
11
test :
14
-
12
+ name : Ruby ${{ matrix.ruby }}
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ ruby :
17
+ - " 2.7"
18
+ - " 3.0"
19
+ - " 3.1"
20
+ - " 3.2"
21
+ - " 3.3"
22
+ - " 3.4"
23
+
15
24
runs-on : ubuntu-latest
16
25
17
26
steps :
18
27
- uses : actions/checkout@v4
19
28
- name : Set up Ruby
20
29
uses : ruby/setup-ruby@v1
21
30
with :
22
- ruby-version : ' 3.3 ' # Not needed with a .ruby-version file
31
+ ruby-version : ${{ matrix .ruby }
23
32
bundler-cache : true # runs 'bundle install' and caches installed gems automatically
24
33
25
- - name : Run tests
34
+ - name : Run Tests
26
35
run : bundle exec rspec spec
Original file line number Diff line number Diff line change 21
21
- name : Set up Ruby
22
22
uses : ruby/setup-ruby@v1
23
23
with :
24
- ruby-version : ' 3.3 ' # Not needed with a .ruby-version file
24
+ ruby-version : ' 3.4 ' # Not needed with a .ruby-version file
25
25
bundler-cache : true # runs 'bundle install' and caches installed gems automatically
26
26
27
27
- name : Install Appraisal Gems
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 12
12
[ // ] : # " ##### BADGES ##### "
13
13
[ // ] : # " ############################################ "
14
14
15
+ ## Status
16
+
17
+ ![ Build] ( https://github.com/Rubology/result_vault/actions/workflows/build.yml/badge.svg?branch=dev )
18
+   ;
19
+ ![ 100% Test Coverage] ( https://github.com/Rubology/result_vault/actions/workflows/code_coverage.yml/badge.svg?branch=dev )
20
+   ;
21
+ [ ![ Gem Version] ( https://badge.fury.io/rb/result_vault.svg )] ( https://badge.fury.io/rb/result_vault )
22
+   ;
23
+ [ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-purple.svg )] ( #license )
15
24
16
- | Main Branch| Dev Branch|
17
- | ---| ---|
18
- | ![ ruby 3.3] ( https://github.com/Rubology/result_vault/actions/workflows/ruby_3_3.yml/badge.svg?branch=main ) | ![ ruby 3.3] ( https://github.com/Rubology/result_vault/actions/workflows/ruby_3_3.yml/badge.svg?branch=dev ) |
19
- | ![ ruby 3.2] ( https://github.com/Rubology/result_vault/actions/workflows/ruby_3_2.yml/badge.svg?branch=main ) | ![ ruby 3.2] ( https://github.com/Rubology/result_vault/actions/workflows/ruby_3_2.yml/badge.svg?branch=dev ) |
20
- | ![ ruby 3.1] ( https://github.com/Rubology/result_vault/actions/workflows/ruby_3_1.yml/badge.svg?branch=main ) | ![ ruby 3.1] ( https://github.com/Rubology/result_vault/actions/workflows/ruby_3_1.yml/badge.svg?branch=dev ) |
21
- | ![ ruby 3.0] ( https://github.com/Rubology/result_vault/actions/workflows/ruby_3_0.yml/badge.svg?branch=main ) | ![ ruby 3.0] ( https://github.com/Rubology/result_vault/actions/workflows/ruby_3_0.yml/badge.svg?branch=dev ) |
22
- | ![ ruby 2.7] ( https://github.com/Rubology/result_vault/actions/workflows/ruby_2_7.yml/badge.svg?branch=main ) | ![ ruby 2.7] ( https://github.com/Rubology/result_vault/actions/workflows/ruby_2_7.yml/badge.svg?branch=dev ) |
23
- |   ; | |
24
- | [ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-purple.svg )] ( #license ) | [ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-purple.svg )] ( #license ) |
25
- | [ ![ Gem Version] ( https://badge.fury.io/rb/result_vault.svg )] ( https://badge.fury.io/rb/result_vault ) | [ ![ Gem Version] ( https://badge.fury.io/rb/result_vault.svg )] ( https://badge.fury.io/rb/result_vault ) |
26
- | ![ 100% Coverage] ( https://github.com/Rubology/result_vault/actions/workflows/code_coverage.yml/badge.svg?branch=main ) | ![ 100% Coverage] ( https://github.com/Rubology/result_vault/actions/workflows/code_coverage.yml/badge.svg?branch=dev ) |
27
25
28
26
29
27
You can’t perform that action at this time.
0 commit comments