File tree Expand file tree Collapse file tree 3 files changed +7
-21
lines changed Expand file tree Collapse file tree 3 files changed +7
-21
lines changed Original file line number Diff line number Diff line change 2222 ruby : jruby-9.4
2323 - os : ubuntu-latest
2424 ruby : truffleruby-head
25-
2625 runs-on : ${{ matrix.os }}
2726 steps :
2827 - uses : actions/checkout@v3
29- - name : Run ruby tests
30- uses : ./.github/actions/test-ruby
28+ - uses : ./.github/actions/test-ruby
3129 with :
3230 ruby-version : ${{ matrix.ruby }}
Original file line number Diff line number Diff line change 99 pre-release-check :
1010 name : Perform checks before releasing
1111 runs-on : ubuntu-latest
12-
1312 steps :
1413 - uses : actions/checkout@v3
15- - name : Check commit has been pushed on origin/main
16- run : |
14+ - run : |
1715 git fetch --quiet origin main
1816 git merge-base --is-ancestor HEAD origin/main
1917
@@ -25,12 +23,10 @@ jobs:
2523 include :
2624 - os : ubuntu-latest
2725 ruby : jruby-9.4
28-
2926 runs-on : ${{ matrix.os }}
3027 steps :
3128 - uses : actions/checkout@v3
32- - name : Run ruby tests
33- uses : ./.github/actions/test-ruby
29+ - uses : ./.github/actions/test-ruby
3430 with :
3531 ruby-version : ${{ matrix.ruby }}
3632
3935 needs : [pre-release-check, tests]
4036 runs-on : ubuntu-latest
4137 environment : Release
42-
4338 steps :
4439 - uses : actions/checkout@v3
45- - name : Publish ruby gem
46- 40+ -
uses :
cucumber/[email protected] 4741 with :
4842 rubygems_api_key : ${{ secrets.RUBYGEMS_API_KEY }}
4943
5448 environment : Release
5549 permissions :
5650 contents : write
57-
5851 steps :
5952 - uses : actions/checkout@v3
6053 -
uses :
cucumber/[email protected]
Original file line number Diff line number Diff line change 1111jobs :
1212 rubocop :
1313 runs-on : ubuntu-latest
14- strategy :
15- matrix :
16- ruby-version : ["3.2"]
1714 steps :
1815 - uses : actions/checkout@v3
19- - name : Set up Ruby
20- uses : ruby/setup-ruby@v1
16+ - uses : ruby/setup-ruby@v1
2117 with :
22- ruby-version : ${{ matrix.ruby-version }}
18+ ruby-version : 3.2
2319 bundler-cache : true
24- - name : Run tests
25- run : bundle exec rake rubocop
20+ - run : bundle exec rake rubocop
You can’t perform that action at this time.
0 commit comments