Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Actions: Adds ruby 3.4 #619

Merged
merged 1 commit into from
Feb 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
with:
ruby-version: "2.6"
bundler-cache: true
bundler: latest
rubygems: latest

- name: Set-up RuboCop Problem Matcher
uses: r7kamura/rubocop-problem-matchers-action@v1
Expand All @@ -26,8 +28,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ["3.3", "3.2", "3.1", "3.0", "2.7", "2.6", "jruby"]
ruby-version: ["3.4", "3.3", "3.2", "3.1", "3.0", "2.7", "2.6", "jruby"]
fail-fast: false

env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
GOOGLE_TRANSLATE_API_KEY: ${{ secrets.GOOGLE_TRANSLATE_API_KEY }}
Expand All @@ -38,12 +41,12 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
bundler: latest
rubygems: latest
- name: "Determine whether to upload coverage"
if: ${{ env.CC_TEST_REPORTER_ID && startsWith(matrix.ruby-version, '3.0') && github.ref == 'refs/heads/main' }}
if: ${{ env.CC_TEST_REPORTER_ID && startsWith(matrix.ruby-version, '3.4') && github.ref == 'refs/heads/main' }}
run: echo UPLOAD_COVERAGE=1 >> $GITHUB_ENV
- name: Ruby 2.6 gem update
if: ${{ startsWith(matrix.ruby-version, '2.6') }}
run: gem update --system 3.2.3
- name: Install dependencies
run: bundle install
- name: Run tests
Expand Down
Loading