Error: Unsupported platform ubuntu-24.04

This commit is contained in:
Karel Pičman 2024-10-15 13:53:37 +02:00
parent 510dd60861
commit 03989743d7
2 changed files with 8 additions and 4 deletions

View File

@ -77,6 +77,10 @@ jobs:
RAILS_ENV: test RAILS_ENV: test
NAME: redmine_custom_workflows NAME: redmine_custom_workflows
steps: steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install subversion
- name: Clone Redmine - name: Clone Redmine
# Get the latest stable Redmine # Get the latest stable Redmine
run: svn export http://svn.redmine.org/redmine/branches/5.1-stable/ /opt/redmine run: svn export http://svn.redmine.org/redmine/branches/5.1-stable/ /opt/redmine
@ -87,10 +91,10 @@ jobs:
run: | run: |
ln -s $(pwd) /opt/redmine/plugins/redmine_custom_workflows ln -s $(pwd) /opt/redmine/plugins/redmine_custom_workflows
- name: Install Ruby and gems - name: Install Ruby and gems
uses: ruby/setup-ruby@0a29871fe2b0200a17a4497bae54fe5df0d973aa # v1.115.3 uses: ruby/setup-ruby@v1 # v1.115.3
with: with:
bundler-cache: true bundler-cache: true
ruby-version: '3.1' ruby-version: '3.2'
- name: Setup database - name: Setup database
# Create the database # Create the database
run: | run: |

View File

@ -17,8 +17,8 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
AllCops: AllCops:
TargetRubyVersion: 3.1 TargetRubyVersion: 3.2
TargetRailsVersion: 6.1 TargetRailsVersion: 7.1
NewCops: enable NewCops: enable