Add support for image revalidation (thanks to libvips 8.15 feature) #36
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ '*' ] | |
jobs: | |
ci-rails-app: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby-version: ['2.7.5', '3.0.3', '3.1.3'] | |
env: | |
NOKOGIRI_USE_SYSTEM_LIBRARIES: true | |
steps: | |
- uses: actions/checkout@v2 | |
- run: sudo apt-get update | |
- name: Install other apt dependencies | |
run: sudo apt-get install -y libvips42 | |
- name: Add --no-document option to .gemrc file to speed up bundle install | |
run: "echo 'gem: --no-document' > ~/.gemrc" | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: Run rspec task | |
run: bundle exec rspec |