Skip to content

Commit 151d66e

Browse files
committed
ci: update Ubuntu runner to 24.04 LTS
1 parent 8e5db8c commit 151d66e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@ jobs:
3939
- ruby: jruby-head
4040
gemfile: gemfiles/rails-7-0.gemfile
4141
experimental: false
42-
runs-on: ubuntu-20.04
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: Inatall 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,7 +66,7 @@ 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
7272
- name: Set up Ruby

0 commit comments

Comments
 (0)