Skip to content

Commit 0074015

Browse files
authored
Feature/upgrade ci (#1722)
* Tidy up of all workflow CI actions / test inputs * Linting fixes * move doc images to docs folder
1 parent 8728a83 commit 0074015

File tree

9 files changed

+5
-32
lines changed

9 files changed

+5
-32
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,10 @@ Please delete options that are not relevant.
1616
- Breaking change (will cause existing functionality to not
1717
work as expected)
1818
- This change requires an update of [cucumber.io/docs](https://cucumber.io/docs)
19+
- If your change may impact future contributors, explain it here, and remember to update README.md and CONTRIBUTING.md accordingly.
1920

2021
Please add an entry to the relevant section of CHANGELOG.md as part of this pull request.
2122

22-
## Note to other contributors
23-
24-
If your change may impact future contributors, explain it here, and remember to update README.md and CONTRIBUTING.md accordingly.
25-
26-
## Update required of cucumber.io/docs
27-
28-
If the [Cucumber documentation](https://cucumber.io/docs/) requires an update,
29-
submit a PR to [cucumber/docs](https://github.com/cucumber/docs/) and
30-
reference it here.
31-
32-
e.g. "Ref: cucumber/docs/pull/#99"
33-
3423
# Checklist:
3524

3625
Your PR is ready for review once the following checklist is

.github/actions/test-ruby/action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,12 @@ inputs:
88

99
runs:
1010
using: "composite"
11-
1211
steps:
1312
- name: Set up Ruby
1413
uses: ruby/setup-ruby@v1
1514
with:
1615
ruby-version: ${{ matrix.ruby }}
1716
bundler-cache: true
18-
1917
- name: Run tests
2018
run: bundle exec rake
2119
shell: bash

.github/lock.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,10 @@ lockComment: >
1919
setLockReason: true
2020

2121
# Limit to only `issues` or `pulls`
22-
# only: issues
22+
only: issues
2323

2424
# Optionally, specify configuration settings just for `issues` or `pulls`
2525
# issues:
2626
# exemptLabels:
2727
# - help-wanted
2828
# lockLabel: outdated
29-
30-
# pulls:
31-
# daysUntilLock: 30
32-
33-
# Repository to extend settings from
34-
# _extends: repo

.github/workflows/cucumber-ruby.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
runs-on: ${{ matrix.os }}
2727
steps:
2828
- uses: actions/checkout@v3
29-
3029
- name: Run ruby tests
3130
uses: ./.github/actions/test-ruby
3231
with:

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v3
15-
1615
- name: Check commit has been pushed on origin/main
1716
run: |
1817
git fetch --quiet origin main
@@ -30,7 +29,6 @@ jobs:
3029
runs-on: ${{ matrix.os }}
3130
steps:
3231
- uses: actions/checkout@v3
33-
3432
- name: Run ruby tests
3533
uses: ./.github/actions/test-ruby
3634
with:
@@ -44,7 +42,6 @@ jobs:
4442

4543
steps:
4644
- uses: actions/checkout@v3
47-
4845
- name: Publish ruby gem
4946
uses: cucumber/[email protected]
5047
with:

.github/workflows/rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ jobs:
2020
uses: ruby/setup-ruby@v1
2121
with:
2222
ruby-version: ${{ matrix.ruby-version }}
23-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
23+
bundler-cache: true
2424
- name: Run tests
2525
run: bundle exec rake rubocop

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<p align="center">
2-
<img src="./.github/img/cucumber-open-logo.png" alt="Cucumber Open - Supported by Smartbear" width="428" />
3-
</p>
1+
<img src="docs/img/cucumber-open-logo.png" alt="Cucumber Open - Supported by Smartbear" width="428" />
42

53
# Cucumber
64

@@ -18,9 +16,7 @@ written in plain language, they can be read by anyone on your team. Because they
1816
read by anyone, you can use them to help improve communication, collaboration and trust on
1917
your team.
2018

21-
<p align="center">
22-
<img src="./.github/img/gherkin-example.png" alt="Cucumber Gherkin Example" width="728" />
23-
</p>
19+
<img src="docs/img/gherkin-example.png" alt="Cucumber Gherkin Example" width="728" />
2420

2521
This is the Ruby implementation of Cucumber. Cucumber is also available for [JavaScript](https://github.com/cucumber/cucumber-js),
2622
[Java](https://github.com/cucumber/cucumber-jvm), and a lot of other languages. You can find a list of implementations here: https://cucumber.io/docs/installation/.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)