File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -38,18 +38,18 @@ jobs:
38
38
experimental : false
39
39
- ruby : jruby-head
40
40
gemfile : gemfiles/rails-7-0.gemfile
41
- experimental : false
42
- runs-on : ubuntu-20 .04
41
+ experimental : true
42
+ runs-on : ubuntu-24 .04
43
43
continue-on-error : ${{ matrix.experimental }}
44
44
env :
45
45
BUNDLE_GEMFILE : ${{ matrix.gemfile }}
46
46
JRUBY_OPTS : --debug
47
47
steps :
48
48
- 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'
51
49
- name : Update package list
52
50
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'
53
53
- name : Install ghostscript to process PDF
54
54
run : sudo apt-get -y install ghostscript
55
55
- name : Install libvips-dev for Carrierwave::Vips
@@ -66,13 +66,15 @@ jobs:
66
66
67
67
rubocop :
68
68
name : RuboCop
69
- runs-on : ubuntu-20 .04
69
+ runs-on : ubuntu-24 .04
70
70
steps :
71
71
- uses : actions/checkout@v4
72
+ - name : Install ImageMagick to build RMagick
73
+ run : sudo apt-get install libmagickwand-dev
72
74
- name : Set up Ruby
73
75
uses : ruby/setup-ruby@v1
74
76
with :
75
- ruby-version : " 3.2 "
77
+ ruby-version : " 3.3 "
76
78
bundler-cache : true
77
79
- name : Run check
78
80
run : bundle exec rubocop
You can’t perform that action at this time.
0 commit comments