diff --git a/.github/workflows/ruby-tests.yml b/.github/workflows/ruby-tests.yml index cd1be4a9..22c10d2a 100644 --- a/.github/workflows/ruby-tests.yml +++ b/.github/workflows/ruby-tests.yml @@ -19,16 +19,20 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.2", "3.3"] + ruby: ["3.2", "3.3", "3.4"] gemfile: - - Gemfile - - gemfiles/7_1.gemfile - gemfiles/7_0.gemfile + - gemfiles/7_1.gemfile + - gemfiles/7_2.gemfile + - gemfiles/8_0.gemfile + exclude: + - ruby-version: '3.4' + gemfile: 'gemfiles/7_0.gemfile' steps: - uses: actions/checkout@v2.4.0 - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: vendor/bundle key: > diff --git a/Rakefile b/Rakefile index e8861b73..57a66d9e 100644 --- a/Rakefile +++ b/Rakefile @@ -21,7 +21,7 @@ task :rubocop do --display-style-guide --display-cop-names --extra-details - --auto-correct + --autocorrect ] end end diff --git a/gemfiles/7_2.gemfile b/gemfiles/7_2.gemfile new file mode 100644 index 00000000..eb36c4d2 --- /dev/null +++ b/gemfiles/7_2.gemfile @@ -0,0 +1,6 @@ +# frozen_string_literal: true + +source "https://rubygems.org" +gemspec path: ".." + +gem "rails", "~> 7.2.0" diff --git a/gemfiles/8_0.gemfile b/gemfiles/8_0.gemfile new file mode 100644 index 00000000..5a21fcc3 --- /dev/null +++ b/gemfiles/8_0.gemfile @@ -0,0 +1,6 @@ +# frozen_string_literal: true + +source "https://rubygems.org" +gemspec path: ".." + +gem "rails", "~> 8.0.0"