Skip to content

Commit

Permalink
feat: add linter
Browse files Browse the repository at this point in the history
  • Loading branch information
bibendi committed Feb 16, 2024
1 parent 490db0b commit f383836
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Ruby

on:
push:
branches: [ master ]
pull_request:
branches: [ '**' ]

jobs:
lint:
runs-on: ubuntu-latest
env:
RUBY_VERSION: "3.3"
name: Rubocop
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Ruby w/ same version as image
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
- name: Install dependencies
run: |
gem install dip
dip bundle install
- name: Run linter
run: dip rubocop
File renamed without changes.

0 comments on commit f383836

Please sign in to comment.