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 22
22
ruby : jruby-9.4
23
23
- os : ubuntu-latest
24
24
ruby : truffleruby-head
25
-
26
25
runs-on : ${{ matrix.os }}
27
26
steps :
28
27
- uses : actions/checkout@v3
29
- - name : Run ruby tests
30
- uses : ./.github/actions/test-ruby
28
+ - uses : ./.github/actions/test-ruby
31
29
with :
32
30
ruby-version : ${{ matrix.ruby }}
Original file line number Diff line number Diff line change 9
9
pre-release-check :
10
10
name : Perform checks before releasing
11
11
runs-on : ubuntu-latest
12
-
13
12
steps :
14
13
- uses : actions/checkout@v3
15
- - name : Check commit has been pushed on origin/main
16
- run : |
14
+ - run : |
17
15
git fetch --quiet origin main
18
16
git merge-base --is-ancestor HEAD origin/main
19
17
@@ -25,12 +23,10 @@ jobs:
25
23
include :
26
24
- os : ubuntu-latest
27
25
ruby : jruby-9.4
28
-
29
26
runs-on : ${{ matrix.os }}
30
27
steps :
31
28
- uses : actions/checkout@v3
32
- - name : Run ruby tests
33
- uses : ./.github/actions/test-ruby
29
+ - uses : ./.github/actions/test-ruby
34
30
with :
35
31
ruby-version : ${{ matrix.ruby }}
36
32
39
35
needs : [pre-release-check, tests]
40
36
runs-on : ubuntu-latest
41
37
environment : Release
42
-
43
38
steps :
44
39
- uses : actions/checkout@v3
45
- - name : Publish ruby gem
46
-
40
+ -
uses :
cucumber/[email protected]
47
41
with :
48
42
rubygems_api_key : ${{ secrets.RUBYGEMS_API_KEY }}
49
43
54
48
environment : Release
55
49
permissions :
56
50
contents : write
57
-
58
51
steps :
59
52
- uses : actions/checkout@v3
60
53
-
uses :
cucumber/[email protected]
Original file line number Diff line number Diff line change 11
11
jobs :
12
12
rubocop :
13
13
runs-on : ubuntu-latest
14
- strategy :
15
- matrix :
16
- ruby-version : ["3.2"]
17
14
steps :
18
15
- uses : actions/checkout@v3
19
- - name : Set up Ruby
20
- uses : ruby/setup-ruby@v1
16
+ - uses : ruby/setup-ruby@v1
21
17
with :
22
- ruby-version : ${{ matrix.ruby-version }}
18
+ ruby-version : 3.2
23
19
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