From 3cff941230ef6bcaad4bddd06446e26b64ecbbd4 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Sat, 23 Mar 2024 16:36:06 -0400 Subject: [PATCH] ci: extract upstream.yml pipeline to test edge rubies --- .github/workflows/ci.yml | 3 +-- .github/workflows/upstream.yml | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 45d8b5c0..efb79c2b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,8 +32,7 @@ jobs: strategy: fail-fast: false matrix: - ruby-version: ["2.6", "2.7", "3.0", "3.1", "3.2", "3.3", "jruby-9.4", "truffleruby", "head", "jruby-head", "truffleruby-head"] - + ruby-version: ["2.6", "2.7", "3.0", "3.1", "3.2", "3.3", "jruby-9.4", "truffleruby"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml index e37f025a..b1d0f2ff 100644 --- a/.github/workflows/upstream.yml +++ b/.github/workflows/upstream.yml @@ -1,4 +1,4 @@ -name: "ci" +name: "upstream" concurrency: group: "${{github.workflow}}-${{github.ref}}" @@ -19,7 +19,16 @@ on: - .github/workflows/upstream.yml # this file jobs: - skeleton: + test: + strategy: + fail-fast: false + matrix: + ruby-version: ["head", "jruby-head", "truffleruby-head"] runs-on: ubuntu-latest steps: - - run: echo "Hello, World!" + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{matrix.ruby-version}} + bundler-cache: true + - run: bundle exec rake test