Fix Cleaner#clean_url
with mailto links
#359
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: test | |
on: [push, pull_request] | |
jobs: | |
specs: | |
runs-on: ${{ matrix.os || 'ubuntu-latest' }} | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby-version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3'] | |
optional-groups: ['test sidekiq'] | |
include: | |
- ruby-version: '1.9' | |
optional-groups: 'test' | |
- ruby-version: '2.0' | |
optional-groups: 'test' | |
- ruby-version: '2.1' | |
optional-groups: 'test' | |
- ruby-version: '2.2' | |
optional-groups: 'test sidekiq' | |
os: 'ubuntu-20.04' | |
- ruby-version: 'jruby' | |
optional-groups: 'test' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- run: bundle install --with "${{ matrix.optional-groups }}" --binstubs | |
- run: ./bin/rake spec | |
linting: | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_WITH: rubocop | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
bundler-cache: true | |
- run: bundle exec rubocop lib/ |