From 8de4a4ec26d73634ac1d4522d7af88ebf12ee5e7 Mon Sep 17 00:00:00 2001 From: Ariel Juodziukynas Date: Wed, 11 Oct 2023 10:17:24 -0300 Subject: [PATCH] Fix testing with Ruby 3.2 (#67) * Include standardrb's config in rubocop.yml * Update changelog * Fix offenses in bin files * Revert formatter changes * Fix testing with Ruby 3.2 * Update changelog * Update .github/workflows/main.yml Co-authored-by: Ernesto Tagwerker --------- Co-authored-by: Ernesto Tagwerker --- .github/workflows/main.yml | 4 ++-- CHANGELOG.md | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2838318..3bcdf12 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: - ruby-version: "3.0" + ruby-version: "3.2" - run: bundle install - run: bundle exec standardrb test: @@ -26,7 +26,7 @@ jobs: fail-fast: false matrix: os: [ubuntu, macos] - ruby: [2.5, 2.6, 2.7, 3.0, 3.1] + ruby: ["2.5", "2.6", "2.7", "3.0", "3.1", "3.2"] continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }} steps: - uses: actions/checkout@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e4ceb7..522a136 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ * [FEATURE: Support defining validations in the .env.template file](https://github.com/fastruby/dotenv_validator/pull/65) * [DX: Use Standardrb's config for RuboCop](https://github.com/fastruby/dotenv_validator/pull/66) +* [DX: Update GitHub Workflow to test with Ruby 3.2](https://github.com/fastruby/dotenv_validator/pull/67) # v1.3.0 /2023-01-03 [(commits)](https://github.com/fastruby/dotenv_validator/compare/v1.2.0...v1.3.0)