Skip to content

Commit 8ca2c8f

Browse files
committed
chore: the gem of my rubocop config
0 parents  commit 8ca2c8f

File tree

19 files changed

+1545
-0
lines changed

19 files changed

+1545
-0
lines changed

.github/workflows/dev.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Dev
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- dev
8+
9+
pull_request:
10+
11+
concurrency:
12+
group: ${{ github.sha }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
name: Ruby ${{ matrix.ruby }}
19+
strategy:
20+
matrix:
21+
ruby:
22+
- '2.7.0'
23+
- '3.0.0'
24+
25+
steps:
26+
- uses: actions/checkout@v3
27+
- name: Set up Ruby
28+
uses: ruby/setup-ruby@v1
29+
with:
30+
ruby-version: ${{ matrix.ruby }}
31+
bundler-cache: true
32+
- name: Run the default task
33+
run: bundle exec rake install && bundle exec rake

.github/workflows/main.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Main
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- master
8+
9+
pull_request:
10+
11+
concurrency:
12+
group: ${{ github.sha }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
name: Ruby ${{ matrix.ruby }}
19+
strategy:
20+
matrix:
21+
ruby:
22+
- '2.7.0'
23+
- '3.0.0'
24+
25+
steps:
26+
- uses: actions/checkout@v3
27+
- name: Set up Ruby
28+
uses: ruby/setup-ruby@v1
29+
with:
30+
ruby-version: ${{ matrix.ruby }}
31+
- name: Run the default task
32+
run: bundle exec rake

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/.bundle/
2+
/.yardoc
3+
/_yardoc/
4+
/coverage/
5+
/doc/
6+
/pkg/
7+
/spec/reports/
8+
/tmp/
9+
10+
# rspec failure tracking
11+
.rspec_status

.rspec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--format documentation
2+
--color
3+
--require spec_helper

0 commit comments

Comments
 (0)