Skip to content

fix: Cache keyset for decoding #94

fix: Cache keyset for decoding

fix: Cache keyset for decoding #94

Workflow file for this run

name: CI
on: [push]
jobs:
reviewdog:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
command:
- rubocop
- brakeman --quiet --format tabs
steps:
- name: Check out code
uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: Add matchers
shell: bash
run: |
echo "::add-matcher::.github/matchers/rubocop.json"
echo "::add-matcher::.github/matchers/brakeman.json"
- name: Run linter
run: bundle exec ${{ matrix.command }}
shell: bash
rspec:
strategy:
fail-fast: false
matrix:
ruby:
- '3.0'
- '3.1'
- '3.2'
gemfile:
- rails_6_1
- rails_7_0
- rails_7_1
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set BUNDLE_GEMFILE
run: echo 'BUNDLE_GEMFILE=${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile' >> $GITHUB_ENV
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run RSpec
run: bundle exec rspec --format RSpec::Github::Formatter