File tree Expand file tree Collapse file tree 5 files changed +19
-316
lines changed Expand file tree Collapse file tree 5 files changed +19
-316
lines changed Original file line number Diff line number Diff line change 99 timeout-minutes : 10
1010 name : Lint
1111 runs-on : ubuntu-latest
12+ if : github.event_name == 'push' || github.event.pull_request.head.repo.fork
1213
1314 steps :
1415 - uses : actions/checkout@v4
1516
1617 - name : Set up Ruby
1718 uses : ruby/setup-ruby@v1
1819 with :
19- bundler-cache : true
20+ bundler-cache : false
21+
22+ - run : |
23+ bundle install
2024
2125 - name : Run lints
2226 run : ./scripts/lint
@@ -25,14 +29,18 @@ jobs:
2529 timeout-minutes : 10
2630 name : Test
2731 runs-on : ubuntu-latest
32+ if : github.event_name == 'push' || github.event.pull_request.head.repo.fork
2833
2934 steps :
3035 - uses : actions/checkout@v4
3136
3237 - name : Set up Ruby
3338 uses : ruby/setup-ruby@v1
3439 with :
35- bundler-cache : true
40+ bundler-cache : false
41+
42+ - run : |
43+ bundle install
3644
3745 - name : Run tests
3846 run : ./scripts/test
@@ -41,14 +49,18 @@ jobs:
4149 timeout-minutes : 10
4250 name : Documentation
4351 runs-on : ubuntu-latest
52+ if : github.event_name == 'push' || github.event.pull_request.head.repo.fork
4453
4554 steps :
4655 - uses : actions/checkout@v4
4756
4857 - name : Set up Ruby
4958 uses : ruby/setup-ruby@v1
5059 with :
51- bundler-cache : true
60+ bundler-cache : false
61+
62+ - run : |
63+ bundle install
5264
5365 - name : Generate documentation
5466 run : bundle exec yard doc
Original file line number Diff line number Diff line change 1515 - name : Set up Ruby
1616 uses : ruby/setup-ruby@v1
1717 with :
18- bundler-cache : true
18+ bundler-cache : false
19+
20+ - run : |
21+ bundle install
1922
2023 - name : Publish gem
2124 run : bash ./bin/publish-gem
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments