Skip to content

Commit

Permalink
Add ruby 3.1, 3.2 and jruby 9.4 to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Goltergaul committed Feb 15, 2023
1 parent 80ac707 commit 24cd22c
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 59 deletions.
53 changes: 0 additions & 53 deletions .circleci/config.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: actions

on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: ["2.7", "3.0", "3.1", "3.2", "jruby-9.3", "jruby-9.4"]
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: false
- run: bundle install
- run: bundle exec rspec
- run: bundle exec rubocop
25 changes: 20 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ PATH
GEM
remote: https://rubygems.org/
specs:
activesupport (7.0.4.2)
activesupport (6.1.7.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
approvals (0.0.26)
json (~> 2.0)
nokogiri (~> 1.8)
Expand All @@ -24,6 +25,7 @@ GEM
concurrent-ruby (1.2.0)
diff-lcs (1.5.0)
ffi (1.15.5)
ffi (1.15.5-java)
formatador (1.1.0)
fuubar (2.5.1)
rspec-core (~> 3.0)
Expand All @@ -44,8 +46,11 @@ GEM
rspec (>= 2.99.0, < 4.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
jar-dependencies (0.4.1)
jaro_winkler (1.5.4)
jaro_winkler (1.5.4-java)
json (2.6.3)
json (2.6.3-java)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
Expand All @@ -54,10 +59,10 @@ GEM
mini_portile2 (2.8.1)
minitest (5.17.0)
nenv (0.3.0)
nokogiri (1.14.2)
nokogiri (1.13.10)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
nokogiri (1.14.2-x86_64-linux)
nokogiri (1.13.10-java)
racc (~> 1.4)
notiffany (0.1.3)
nenv (~> 0.1)
Expand All @@ -68,9 +73,16 @@ GEM
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
psych (5.1.0)
pry (0.14.2-java)
coderay (~> 1.1)
method_source (~> 1.0)
spoon (~> 0.0)
psych (4.0.6)
stringio
psych (4.0.6-java)
jar-dependencies (>= 0.1.7)
racc (1.6.2)
racc (1.6.2-java)
rainbow (3.1.1)
rake (13.0.6)
rb-fsevent (0.11.2)
Expand Down Expand Up @@ -107,16 +119,19 @@ GEM
rubocop_runner (2.2.1)
ruby-progressbar (1.11.0)
shellany (0.0.1)
spoon (0.0.6)
ffi
stringio (3.0.5)
thor (1.2.1)
timecop (0.9.6)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (1.5.0)
zeitwerk (2.6.7)

PLATFORMS
ruby
x86_64-linux
universal-java-11

DEPENDENCIES
approvals (~> 0.0)
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Definition

[![Build Status](https://circleci.com/gh/Goltergaul/definition.svg?style=svg)][circleci]
[![Gem Version](https://badge.fury.io/rb/definition.svg)][rubygems]

Simple and composable validation and coercion of data structures. It also includes a ValueObject for convenience.
Expand Down

0 comments on commit 24cd22c

Please sign in to comment.