Skip to content

Merge pull request #930 from rubytoolbox/depfu/update/rubocop-rspec-3… #887

Merge pull request #930 from rubytoolbox/depfu/update/rubocop-rspec-3…

Merge pull request #930 from rubytoolbox/depfu/update/rubocop-rspec-3… #887

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
bundler-audit:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run bundler-audit
env:
# Neccessary for jruby test coverage
JRUBY_OPTS: "--debug"
run: bundle exec bundler-audit --update
rubocop:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Install dependencies and run rubocop
env:
# Neccessary for jruby test coverage
JRUBY_OPTS: "--debug"
run: bundle exec rubocop
rspec:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Install dependencies and run RSpec
run: bundle exec rspec
- uses: actions/upload-artifact@v4
with:
name: "Test Coverage"
path: coverage/