Skip to content

Add :json_trunc log formatter #24

Add :json_trunc log formatter

Add :json_trunc log formatter #24

Workflow file for this run

name: PR Checks
on:
pull_request
jobs:
run-tests:
strategy:
fail-fast: false
matrix:
ruby: ['3.1', '3.2', '3.3']
gemfile: ['Gemfile', 'Gemfile.oldgems', 'Gemfile.sentry']
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- name: Checks out repo
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Set up ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Install dependencies
run: |
sudo apt-get -yqq install libpq-dev
gem install bundler -v '2.1.2'
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Run rubocop
run: bundle exec rubocop
- name: Run specs
run: bundle exec rspec spec/