Skip to content

Commit

Permalink
Merge pull request #152 from moiristo/gha-fix
Browse files Browse the repository at this point in the history
Fix CI through GHA
  • Loading branch information
moiristo authored Nov 13, 2024
2 parents 647c996 + c63f5e8 commit e48a773
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,14 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
ruby-version: [2.3.0, 2.4.4, 2.5.5, 2.6.3, truffleruby-21.3.0]
ruby-version: [2.3.0, 2.4.4, 2.5.5, 2.6.3]
appraisal: ["3.2", "4.0", "4.1", "4.2", "5.0", "5.1", "5.2", "6.0"]
include:
- ruby-version: 2.7.5
appraisal: "7.0"
- ruby-version: truffleruby
appraisal: "7.0"
exclude:
- ruby-version: 2.3.0
appraisal: "4.2"
Expand Down Expand Up @@ -56,25 +54,15 @@ jobs:
appraisal: "4.1"
- ruby-version: 2.6.3
appraisal: "4.2"
- ruby-version: truffleruby-21.3.0
appraisal: "3.2"
- ruby-version: truffleruby-21.3.0
appraisal: "4.0"
- ruby-version: truffleruby-21.3.0
appraisal: "4.1"
- ruby-version: truffleruby-21.3.0
appraisal: "4.2"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: false # runs 'bundle install' and caches installed gems automatically
- name: Set system gem command
run: gem update --system
rubygems: default
bundler: none
- name: Install compatible bundler for all envs
run: gem install bundler -v 1.17.3
- name: Bundle for Appraisal
Expand Down

0 comments on commit e48a773

Please sign in to comment.