Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/cd-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CD - Release

on:
push:
branches:
- master

concurrency:
group: cd-release
cancel-in-progress: false

jobs:
publish-release:
name: Publish Release
runs-on: stuart-generic-x64
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: corretto
java-version: 17
cache: maven
- name: Deploy release
run: mvn -B -Drepo.id=stuart-maven-releases -Drepo.login='${{ secrets.REPO_LOGIN }}' -Drepo.pwd='${{ secrets.REPO_PWD }}' deploy
24 changes: 24 additions & 0 deletions .github/workflows/cd-snapshot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CD - Snapshot

on:
push:
branches:
- develop

concurrency:
group: cd-snapshot
cancel-in-progress: true

jobs:
publish-snapshot:
name: Publish Snapshot
runs-on: stuart-generic-x64
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: corretto
java-version: 17
cache: maven
- name: Deploy snapshot
run: mvn -B -Drepo.id=stuart-maven-snapshots -Drepo.login='${{ secrets.REPO_LOGIN }}' -Drepo.pwd='${{ secrets.REPO_PWD }}' deploy
57 changes: 57 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: CI

on:
pull_request:

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
compile:
name: Compile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: corretto
java-version: 17
cache: maven
- name: Compile
run: mvn -B clean compile

style:
name: Style
runs-on: ubuntu-latest
needs: compile
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: corretto
java-version: 17
cache: maven
- name: Checkstyle
run: mvn -B checkstyle:check

test:
name: Test
runs-on: ubuntu-latest
needs: compile
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: corretto
java-version: 17
cache: maven
- name: Test
run: mvn -B verify
- name: Upload coverage report
uses: actions/upload-artifact@v4
if: always()
with:
name: jacoco-report
path: coverage/target/site/jacoco-aggregate/
retention-days: 7
File renamed without changes.
2 changes: 1 addition & 1 deletion client-hc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<parent>
<groupId>com.stuart.platform.graphhopper</groupId>
<artifactId>graphhopper-parent</artifactId>
<version>5.1.4-SNAPSHOT</version>
<version>5.2.0-SNAPSHOT</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>com.stuart.platform.graphhopper</groupId>
<artifactId>graphhopper-parent</artifactId>
<version>5.1.4-SNAPSHOT</version>
<version>5.2.0-SNAPSHOT</version>
</parent>

<properties>
Expand Down
4 changes: 2 additions & 2 deletions coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.stuart.platform.graphhopper</groupId>
<artifactId>graphhopper-parent</artifactId>
<version>5.1.4-SNAPSHOT</version>
<version>5.2.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand All @@ -33,7 +33,7 @@
<dependency>
<groupId>com.stuart.platform.graphhopper</groupId>
<artifactId>graphhopper-example</artifactId>
<version>5.1.4-SNAPSHOT</version>
<version>5.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.stuart.platform.graphhopper</groupId>
Expand Down
2 changes: 1 addition & 1 deletion example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>com.stuart.platform.graphhopper</groupId>
<artifactId>graphhopper-parent</artifactId>
<version>5.1.4-SNAPSHOT</version>
<version>5.2.0-SNAPSHOT</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion map-matching/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>com.stuart.platform.graphhopper</groupId>
<artifactId>graphhopper-parent</artifactId>
<version>5.1.4-SNAPSHOT</version>
<version>5.2.0-SNAPSHOT</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion navigation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>com.stuart.platform.graphhopper</groupId>
<artifactId>graphhopper-parent</artifactId>
<version>5.1.4-SNAPSHOT</version>
<version>5.2.0-SNAPSHOT</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>com.stuart.platform.graphhopper</groupId>
<artifactId>graphhopper-parent</artifactId>
<name>GraphHopper Parent Project</name>
<version>5.1.4-SNAPSHOT</version>
<version>5.2.0-SNAPSHOT</version>
<packaging>pom</packaging>
<url>https://www.graphhopper.com</url>
<inceptionYear>2012</inceptionYear>
Expand Down
2 changes: 1 addition & 1 deletion reader-gtfs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>com.stuart.platform.graphhopper</groupId>
<artifactId>graphhopper-parent</artifactId>
<version>5.1.4-SNAPSHOT</version>
<version>5.2.0-SNAPSHOT</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>com.stuart.platform.graphhopper</groupId>
<artifactId>graphhopper-parent</artifactId>
<version>5.1.4-SNAPSHOT</version>
<version>5.2.0-SNAPSHOT</version>
</parent>
<properties>
<assembly-phase>package</assembly-phase>
Expand Down
2 changes: 1 addition & 1 deletion web-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>com.stuart.platform.graphhopper</groupId>
<artifactId>graphhopper-parent</artifactId>
<version>5.1.4-SNAPSHOT</version>
<version>5.2.0-SNAPSHOT</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion web-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>com.stuart.platform.graphhopper</groupId>
<artifactId>graphhopper-parent</artifactId>
<version>5.1.4-SNAPSHOT</version>
<version>5.2.0-SNAPSHOT</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>com.stuart.platform.graphhopper</groupId>
<artifactId>graphhopper-parent</artifactId>
<version>5.1.4-SNAPSHOT</version>
<version>5.2.0-SNAPSHOT</version>
</parent>
<properties>
<shade-phase>package</shade-phase>
Expand Down
Loading