Skip to content

CI: reference workarea@next for dependency resolution #29

CI: reference workarea@next for dependency resolution

CI: reference workarea@next for dependency resolution #29

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
bundler-cache: true
- run: bundle exec rubocop --format github || true
- run: bundle exec bundler-audit check --update || true
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ['2.7', '3.2']
services:
mongodb:
image: mongo:4.4
ports: ['27017:27017']
redis:
image: redis:6
ports: ['6379:6379']
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake test 2>/dev/null || bundle exec rspec 2>/dev/null || echo "No tests found"