File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,18 +38,18 @@ jobs:
3838 experimental : false
3939 - ruby : jruby-head
4040 gemfile : gemfiles/rails-7-0.gemfile
41- experimental : false
42- runs-on : ubuntu-20 .04
41+ experimental : true
42+ runs-on : ubuntu-24 .04
4343 continue-on-error : ${{ matrix.experimental }}
4444 env :
4545 BUNDLE_GEMFILE : ${{ matrix.gemfile }}
4646 JRUBY_OPTS : --debug
4747 steps :
4848 - uses : actions/checkout@v4
49- - name : Setup ImageMagick policy
50- run : sudo sh -c 'echo '\''<policymap><policy domain="coder" rights="read|write" pattern="PDF" /></policymap>'\'' > /etc/ImageMagick-6/policy.xml'
5149 - name : Update package list
5250 run : sudo apt update
51+ - name : Install ImageMagick and setup policy
52+ run : sudo apt-get install imagemagick && sudo sh -c 'echo '\''<policymap><policy domain="coder" rights="read|write" pattern="PDF" /></policymap>'\'' > /etc/ImageMagick-6/policy.xml'
5353 - name : Install ghostscript to process PDF
5454 run : sudo apt-get -y install ghostscript
5555 - name : Install libvips-dev for Carrierwave::Vips
@@ -66,13 +66,15 @@ jobs:
6666
6767 rubocop :
6868 name : RuboCop
69- runs-on : ubuntu-20 .04
69+ runs-on : ubuntu-24 .04
7070 steps :
7171 - uses : actions/checkout@v4
72+ - name : Install ImageMagick
73+ run : sudo apt-get install imagemagick
7274 - name : Set up Ruby
7375 uses : ruby/setup-ruby@v1
7476 with :
75- ruby-version : " 3.2 "
77+ ruby-version : " 3.3 "
7678 bundler-cache : true
7779 - name : Run check
7880 run : bundle exec rubocop
You can’t perform that action at this time.
0 commit comments