From acd5cce9d8aa1ba2d57824393c046bbb4e0ea490 Mon Sep 17 00:00:00 2001 From: Shinichi Maeshima Date: Thu, 3 Oct 2024 11:48:21 +0900 Subject: [PATCH 1/2] Updated CI configurations - Added ruby 3.3 - Updated actions/checkout, actions/upload-artifact, and actions/download-artifact to the latest versions --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fc3b770..a98b4c0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,9 +14,9 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] - ruby: [2.5, 2.6, 2.7, '3.0', 3.1, 3.2, head, debug, truffleruby, truffleruby-head, jruby, jruby-head] + ruby: [2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3, head, debug, truffleruby, truffleruby-head, jruby, jruby-head] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: @@ -27,7 +27,7 @@ jobs: if: ${{ startsWith(matrix.ruby, 'jruby') }} - name: Run tests run: bundle exec rake - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ matrix.os == 'ubuntu-latest' && matrix.ruby == '3.0' }} with: name: coverage @@ -39,7 +39,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: coverage path: coverage/ From 6d89059e12b6a20a930a789cff62b4c7b46525b0 Mon Sep 17 00:00:00 2001 From: Shinichi Maeshima Date: Thu, 3 Oct 2024 12:54:03 +0900 Subject: [PATCH 2/2] CRuby < 2.6 does not support macos-latest now ref: [macOS 14 (Sonoma) is generally available - GitHub Changelog](https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/) --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a98b4c0..4a3e287 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,9 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] - ruby: [2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3, head, debug, truffleruby, truffleruby-head, jruby, jruby-head] + ruby: [2.6, 2.7, '3.0', 3.1, 3.2, 3.3, head, debug, truffleruby, truffleruby-head, jruby, jruby-head] + include: + - { os: macos-13, ruby: '2.5' } steps: - uses: actions/checkout@v4 - name: Set up Ruby