Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: reviewdog
on: [pull_request]

env:
REVIEWDOG_SKIP_DOGHOUSE: true

jobs:
# RUBY #
ruby_linting:
name: linting
runs-on: ubuntu-22.04
timeout-minutes: 30

steps:
- name: Check out code
uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ruby
bundler-cache: true
- name: rubocop
uses: reviewdog/action-rubocop@v2
with:
rubocop_version: gemfile
rubocop_extensions: rubocop-rspec:gemfile
github_token: ${{ secrets.github_token }}
reporter: github-pr-check
filter_mode: added
fail_on_error: false
3 changes: 2 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ GEM

PLATFORMS
arm64-darwin-21
x86_64-linux

DEPENDENCIES
bigdecimal (~> 3.1.2)
Expand All @@ -54,4 +55,4 @@ DEPENDENCIES
rubocop (~> 1.21)

BUNDLED WITH
2.3.7
2.4.6