From 908996f5be5351961ad01c4e5de591947afed7fc Mon Sep 17 00:00:00 2001 From: Joakim Antman Date: Mon, 23 Jun 2025 19:39:31 +0300 Subject: [PATCH] chore: Support Ruby 3.4 --- .github/workflows/test.yml | 91 +++++++++++++++++++------------------- .ruby-version | 2 +- 2 files changed, 47 insertions(+), 46 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6839075..637b4df 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,48 +1,49 @@ --- - name: test - on: - push: - branches: - - "main" - pull_request: - branches: - - "*" - jobs: - lint: - name: RuboCop - timeout-minutes: 30 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: ruby - bundler-cache: true - - name: Run RuboCop - run: bundle exec rubocop - test: - name: Ruby ${{ matrix.ruby }} - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - ruby: - - "2.5" - - "2.6" - - "2.7" - - "3.0" - - "3.1" - - "3.2" - - "3.3" - steps: - - uses: actions/checkout@v4 +name: test +on: + push: + branches: + - "main" + pull_request: + branches: + - "*" +jobs: + lint: + name: RuboCop + timeout-minutes: 30 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ruby + bundler-cache: true + - name: Run RuboCop + run: bundle exec rubocop + test: + name: Ruby ${{ matrix.ruby }} + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + ruby: + - "2.5" + - "2.6" + - "2.7" + - "3.0" + - "3.1" + - "3.2" + - "3.3" + - "3.4" + steps: + - uses: actions/checkout@v4 - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: ${{ matrix.ruby }} - bundler-cache: true + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true - - name: Run tests - run: bundle exec rspec + - name: Run tests + run: bundle exec rspec diff --git a/.ruby-version b/.ruby-version index 2c6109e..5141b61 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.3.4 \ No newline at end of file +3.4.4 \ No newline at end of file