Skip to content

Commit

Permalink
CI: Update ubuntu version
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed May 20, 2024
1 parent 39091ff commit ea080da
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,28 @@ permissions:

jobs:
lint:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 20
strategy:
matrix:
imagemagick-version:
- { full: 7.1.1-29, major-minor: '7.1' }
name: Lint
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Cache ImageMagick
uses: actions/cache@v4
with:
path: ./build-ImageMagick
key: v1-linux-imagemagick-${{ matrix.imagemagick-version.full }}
restore-keys: |
v1-linux-imagemagick-${{ matrix.imagemagick-version.full }}
- name: Install ImageMagick ${{ matrix.imagemagick-version.full }}
run: |
export IMAGEMAGICK_VERSION=${{ matrix.imagemagick-version.full }}
./before_install_linux.sh
- name: Set up Ruby 3.0
uses: ruby/setup-ruby@master
with:
Expand All @@ -31,7 +46,7 @@ jobs:
run: bundle exec rubocop

test-ruby:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 20
strategy:
matrix:
Expand Down Expand Up @@ -63,7 +78,7 @@ jobs:
run: bundle exec rake

test-jruby:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 20
strategy:
matrix:
Expand Down
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ AllCops:
Exclude:
- 'vendor/bundle/**/*'
- 'rails_generators/gruff/**/*'
- 'build-ImageMagick/**/*'

Metrics:
Enabled: false
Expand Down

0 comments on commit ea080da

Please sign in to comment.