Skip to content

Commit a17c033

Browse files
committed
keep only ci flow
1 parent bb067b5 commit a17c033

2 files changed

Lines changed: 65 additions & 67 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,31 @@ on:
44
push:
55
branches:
66
- main
7-
- fix-pipeline
87
pull_request:
98
branches:
109
- main
11-
- develop
1210

1311
jobs:
1412
test:
1513
runs-on: ubuntu-latest
1614
steps:
17-
- uses: actions/checkout@v4
18-
19-
- name: Set up Ruby
20-
uses: ruby/setup-ruby@v1
21-
with:
22-
ruby-version: '3.2'
23-
bundler-cache: false
15+
- uses: actions/checkout@v4
2416

25-
- name: Install dependencies
26-
run: |
27-
gem install bundler -v '2.4.22'
28-
bundle config set --local path 'vendor/bundle'
29-
bundle config set --local frozen 'false'
30-
bundle install
17+
- name: Set up Ruby
18+
uses: ruby/setup-ruby@v1
19+
with:
20+
ruby-version: "3.2"
21+
bundler-cache: false
3122

32-
- name: Run RuboCop
33-
run: bundle exec rubocop --parallel
23+
- name: Install dependencies
24+
run: |
25+
gem install bundler -v '2.4.22'
26+
bundle config set --local path 'vendor/bundle'
27+
bundle config set --local frozen 'false'
28+
bundle install
29+
30+
- name: Run RuboCop
31+
run: bundle exec rubocop --parallel
3432

3533
# - name: Run RSpec
36-
# run: bundle exec rspec
34+
# run: bundle exec rspec

.github/workflows/main.yml

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,49 @@
1-
name: Ruby Gem
2-
3-
on:
4-
push:
5-
branches: [main]
6-
pull_request:
7-
branches: [main]
8-
9-
jobs:
10-
build:
11-
runs-on: ubuntu-latest
12-
name: Ruby ${{ matrix.ruby }}
13-
strategy:
14-
matrix:
15-
ruby: ["3.1.6", "3.2.3", "3.3.0"]
16-
17-
steps:
18-
- uses: actions/checkout@v3
19-
- name: Set up Ruby
20-
uses: ruby/setup-ruby@v1
21-
with:
22-
ruby-version: ${{ matrix.ruby }}
23-
bundler-cache: false
24-
25-
- name: Bundle install
26-
run: |
27-
bundle config set frozen false
28-
bundle install
29-
30-
# - name: Run tests
31-
# run: bundle exec rake
32-
33-
lint:
34-
runs-on: ubuntu-latest
35-
steps:
36-
- uses: actions/checkout@v3
37-
- name: Set up Ruby
38-
uses: ruby/setup-ruby@v1
39-
with:
40-
ruby-version: "3.2"
41-
bundler-cache: false
42-
43-
- name: Bundle install
44-
run: |
45-
bundle config set frozen false
46-
bundle install
47-
48-
- name: Run rubocop
49-
run: bundle exec rubocop
1+
# name: Ruby Gem
2+
3+
# on:
4+
# push:
5+
# branches: [main]
6+
# pull_request:
7+
# branches: [main]
8+
9+
# jobs:
10+
# build:
11+
# runs-on: ubuntu-latest
12+
# name: Ruby ${{ matrix.ruby }}
13+
# strategy:
14+
# matrix:
15+
# ruby: ["3.1.6", "3.2.3", "3.3.0"]
16+
17+
# steps:
18+
# - uses: actions/checkout@v3
19+
# - name: Set up Ruby
20+
# uses: ruby/setup-ruby@v1
21+
# with:
22+
# ruby-version: ${{ matrix.ruby }}
23+
# bundler-cache: false
24+
25+
# - name: Bundle install
26+
# run: |
27+
# bundle config set frozen false
28+
# bundle install
29+
30+
# # - name: Run tests
31+
# # run: bundle exec rake
32+
33+
# lint:
34+
# runs-on: ubuntu-latest
35+
# steps:
36+
# - uses: actions/checkout@v3
37+
# - name: Set up Ruby
38+
# uses: ruby/setup-ruby@v1
39+
# with:
40+
# ruby-version: "3.2"
41+
# bundler-cache: false
42+
43+
# - name: Bundle install
44+
# run: |
45+
# bundle config set frozen false
46+
# bundle install
47+
48+
# - name: Run rubocop
49+
# run: bundle exec rubocop

0 commit comments

Comments
 (0)