From 020317730d8deabca9a3210d2fb3158cb97edba9 Mon Sep 17 00:00:00 2001 From: Peter Goldstein Date: Sun, 10 Sep 2023 22:55:57 -0400 Subject: [PATCH 1/2] Quote the 3.0 in GitHub action definition to avoid truncation. Also fix lint. --- .github/workflows/main.yml | 2 +- lib/alba/resource.rb | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e835e3e..6c4a01f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - ruby: [3.0, 3.1, 3.2, head, jruby, truffleruby] + ruby: ['3.0', 3.1, 3.2, head, jruby, truffleruby] gemfile: [all, without_active_support, without_oj] exclude: - os: windows-latest diff --git a/lib/alba/resource.rb b/lib/alba/resource.rb index aa83ea0..5a9eaaa 100644 --- a/lib/alba/resource.rb +++ b/lib/alba/resource.rb @@ -525,5 +525,3 @@ def prefer_object_method! Serializer = Resource public_constant :Serializer end - - From 1bff0cbe6db0e0192cac02cf17c6bf4e97a9cfbb Mon Sep 17 00:00:00 2001 From: OKURA Masafumi Date: Tue, 12 Sep 2023 01:06:21 +0900 Subject: [PATCH 2/2] [CI] Run performance check on Ruby 3 series --- .github/workflows/perf.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml index ddf684b..3aed262 100644 --- a/.github/workflows/perf.yml +++ b/.github/workflows/perf.yml @@ -7,7 +7,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: [2.7, 3.0, 3.1] + ruby: ['3.0', 3.1, 3.2] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3