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