From 03989743d72289afa84d62747a447b13a062fd2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Tue, 15 Oct 2024 13:53:37 +0200 Subject: [PATCH] Error: Unsupported platform ubuntu-24.04 --- .github/workflows/rubyonrails.yml | 8 ++++++-- .rubocop.yml | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rubyonrails.yml b/.github/workflows/rubyonrails.yml index 4a193bb..a359f8a 100644 --- a/.github/workflows/rubyonrails.yml +++ b/.github/workflows/rubyonrails.yml @@ -77,6 +77,10 @@ jobs: RAILS_ENV: test NAME: redmine_custom_workflows steps: + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install subversion - name: Clone Redmine # Get the latest stable Redmine run: svn export http://svn.redmine.org/redmine/branches/5.1-stable/ /opt/redmine @@ -87,10 +91,10 @@ jobs: run: | ln -s $(pwd) /opt/redmine/plugins/redmine_custom_workflows - name: Install Ruby and gems - uses: ruby/setup-ruby@0a29871fe2b0200a17a4497bae54fe5df0d973aa # v1.115.3 + uses: ruby/setup-ruby@v1 # v1.115.3 with: bundler-cache: true - ruby-version: '3.1' + ruby-version: '3.2' - name: Setup database # Create the database run: | diff --git a/.rubocop.yml b/.rubocop.yml index ca5295b..8fae33b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -17,8 +17,8 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. AllCops: - TargetRubyVersion: 3.1 - TargetRailsVersion: 6.1 + TargetRubyVersion: 3.2 + TargetRailsVersion: 7.1 NewCops: enable