Skip to content
Merged
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
16 changes: 16 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Lint
on:
- pull_request

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Install
uses: trinhngocthuyen/gh-actions/rb/install@main
with:
bundle-install: true
- name: Makefile
uses: trinhngocthuyen/gh-actions/core/makefile@main
with:
targets: lint
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Test
on:
pull_request:
push:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install
uses: trinhngocthuyen/gh-actions/rb/install@main
with:
bundle-install: true
- name: Makefile
uses: trinhngocthuyen/gh-actions/core/makefile@main
with:
targets: test
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
AllCops:
NewCops: enable
SuggestExtensions: false
Include:
- lib/**/*.rb
- spec/**/*.rb
Exclude:
- spec/spec_helper.rb

Expand Down