aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/ruby.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ruby.yml')
-rw-r--r--.github/workflows/ruby.yml16
1 files changed, 11 insertions, 5 deletions
diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml
index 6892090..9fe5129 100644
--- a/.github/workflows/ruby.yml
+++ b/.github/workflows/ruby.yml
@@ -6,6 +6,11 @@ on:
pull_request:
branches:
- master
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
jobs:
build:
runs-on: ubuntu-latest
@@ -13,17 +18,19 @@ jobs:
fail-fast: false
matrix:
ruby:
- - '2.7'
- - '3.0'
- '3.1'
+ - '3.2'
+ - '3.3'
+ - '3.4'
+ - '3.5'
- ruby-head
- - jruby-9.3.3.0
+ - jruby-9.4.10.0
include:
- ruby: ruby-head
env:
RUBYOPT: '--jit'
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
@@ -31,4 +38,3 @@ jobs:
- run: bundle exec rake
env:
LONG_RUN: true
-