Skip to content

chore: Fix linter warnings in specs #89

chore: Fix linter warnings in specs

chore: Fix linter warnings in specs #89

Workflow file for this run

---
name: test
on:
- push
- pull_request
- workflow_dispatch
jobs:
rspec:
name: "${{ matrix.ruby }} / ${{ matrix.adapter }}"
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
ruby:
- "3.4"
- "3.3"
- "3.2"
- "3.1"
adapter:
- typhoeus
- typhoeus-sync
env:
BUNDLE_WITHOUT: development
ADAPTER: ${{ matrix.adapter }}
steps:
- uses: actions/checkout@master
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
env:
BUNDLE_JOBS: 4
BUNDLE_RETRY: 3
- run: |
bundle exec rspec --color --format documentation
- uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
rubocop:
name: rubocop
runs-on: ubuntu-24.04
env:
BUNDLE_WITHOUT: development
steps:
- uses: actions/checkout@master
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
bundler-cache: true
env:
BUNDLE_WITHOUT: development
BUNDLE_JOBS: 4
BUNDLE_RETRY: 3
- run: bundle exec rubocop --parallel --fail-level E