From 0470ddb596891cc2119de173c3187b4ed7823e34 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Thu, 8 Jan 2026 11:06:40 -0600 Subject: [PATCH] Test on ruby 4.0 --- .github/workflows/ruby.yml | 41 +++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index a1caf5c7..9719bcf2 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -12,29 +12,28 @@ on: jobs: test: - runs-on: ubuntu-latest strategy: matrix: - ruby: ['3.4'] + ruby: ["3.4", "4.0"] steps: - - uses: actions/checkout@v6 - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: ${{ matrix.ruby }} - - uses: actions/cache@v5 - with: - path: vendor/bundle - key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} - restore-keys: | - ${{ runner.os }}-gems- - - name: Bundle install - run: bundle config path vendor/bundle - - name: Install dependencies - run: bin/setup --skip-server - - name: Herb analyze - run: bundle exec herb analyze app --non-interactive --no-log-file - - name: Run tests - run: bundle exec bin/ci + - uses: actions/checkout@v6 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + - uses: actions/cache@v5 + with: + path: vendor/bundle + key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} + restore-keys: | + ${{ runner.os }}-gems- + - name: Bundle install + run: bundle config path vendor/bundle + - name: Install dependencies + run: bin/setup --skip-server + - name: Herb analyze + run: bundle exec herb analyze app --non-interactive --no-log-file + - name: Run tests + run: bundle exec bin/ci