Skip to content

Commit 6b44ff9

Browse files
authored
Build project using Github actions (#26)
1 parent 6033043 commit 6b44ff9

17 files changed

+134
-374
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
open_collective: cucumber

.github/lock.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Configuration for lock-threads - https://github.com/dessant/lock-threads
2+
3+
# Number of days of inactivity before a closed issue or pull request is locked
4+
daysUntilLock: 365
5+
6+
# Issues and pull requests with these labels will not be locked. Set to `[]` to disable
7+
exemptLabels: []
8+
9+
# Label to add before locking, such as `outdated`. Set to `false` to disable
10+
lockLabel: false
11+
12+
# Comment to post before locking. Set to `false` to disable
13+
lockComment: >
14+
This thread has been automatically locked since there has not been
15+
any recent activity after it was closed. Please open a new issue for
16+
related bugs.
17+
18+
# Assign `resolved` as the reason for locking. Set to `false` to disable
19+
setLockReason: true
20+
21+
# Limit to only `issues` or `pulls`
22+
# only: issues
23+
24+
# Optionally, specify configuration settings just for `issues` or `pulls`
25+
# issues:
26+
# exemptLabels:
27+
# - help-wanted
28+
# lockLabel: outdated
29+
30+
# pulls:
31+
# daysUntilLock: 30
32+
33+
# Repository to extend settings from
34+
# _extends: repo

.github/renovate.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"extends": [
3+
"config:base",
4+
":disableDependencyDashboard"
5+
],
6+
"labels": [":robot: dependencies"],
7+
"prHourlyLimit": 0,
8+
"packageRules": [
9+
{
10+
"updateTypes": ["minor", "patch"],
11+
"automerge": true,
12+
"automergeType": "branch"
13+
}
14+
]
15+
}

.github/stale.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 300
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 60
5+
# Issues with these labels will never be considered stale
6+
exemptLabels:
7+
- ":safety_pin: pinned"
8+
# Label to use when marking an issue as stale
9+
staleLabel: ":hourglass: stale"
10+
# Comment to post when marking an issue as stale. Set to `false` to disable
11+
markComment: >
12+
This issue has been automatically marked as stale because it has not had
13+
recent activity. It will be closed in two months if no further activity occurs.
14+
# Comment to post when closing a stale issue. Set to `false` to disable
15+
closeComment: >
16+
This issue has been automatically closed because of inactivity.
17+
You can support the Cucumber core team on [opencollective](https://opencollective.com/cucumber).

.github/workflows/test-java.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Test Java
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- '**'
7+
workflow_call:
8+
push:
9+
branches:
10+
- main
11+
12+
jobs:
13+
build:
14+
name: 'Build'
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v3
18+
- name: Cache local Maven repository
19+
uses: actions/cache@v3
20+
with:
21+
path: ~/.m2/repository
22+
key: build-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
23+
restore-keys: |
24+
build-${{ runner.os }}-maven-
25+
- uses:
26+
AdoptOpenJDK/install-jdk@v1
27+
with:
28+
version: '11'
29+
- name: Install dependencies
30+
run: mvn install -DskipTests=true -DskipITs=true-Dmaven.javadoc.skip=true --batch-mode -Dstyle.color=always --show-version
31+
- name: Test
32+
run: mvn verify -Dstyle.color=always
33+
34+
javadoc:
35+
name: 'Javadoc'
36+
runs-on: ubuntu-latest
37+
steps:
38+
- uses: actions/checkout@v3
39+
- name: Cache local Maven repository
40+
uses: actions/cache@v3
41+
with:
42+
path: ~/.m2/repository
43+
key: javadoc-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
44+
restore-keys: |
45+
javadoc-${{ runner.os }}-maven-
46+
- uses:
47+
AdoptOpenJDK/install-jdk@v1
48+
with:
49+
version: '11'
50+
- name: Install dependencies
51+
run: mvn install -DskipTests=true -DskipITs=true -Dmaven.javadoc.skip=true --batch-mode -Dstyle.color=always --show-version
52+
- name: Javadoc
53+
run: mvn javadoc:jar -Dstyle.color=always

.m2/maven-version-rules.xml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.m2/travis-ci-toolchains.xml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.versions/rules.xml

Lines changed: 0 additions & 15 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
66

77
See also the [CHANGELOG](https://github.com/cucumber/cucumber-jvm/blob/main/CHANGELOG.md) from Cucumber Core.
88

9-
----
10-
## [Unreleased] (In Git)
11-
12-
### Added
13-
14-
### Changed
15-
16-
### Deprecated
17-
18-
### Removed
19-
20-
### Fixed
9+
----
10+
## [Unreleased] (In Git)
11+
12+
### Added
13+
14+
### Changed
15+
16+
### Deprecated
17+
18+
### Removed
19+
20+
### Fixed
2121

2222
## [6.10.4] (2021-06-14)
2323

0 commit comments

Comments
 (0)