Commit Graph

17 Commits

Author SHA1 Message Date
Wouter Born
1f8155c330
GitHub Actions upgrades and improvements (#4422)
* Use Maven 3.9.9
* Use Ubuntu 24.04
* Verify there are no changed files

Signed-off-by: Wouter Born <github@maindrain.net>
2024-10-24 20:01:28 +02:00
Wouter Born
e3d7885367
Replace deprecated stale bot with stale action (#4371)
The stale bot is deprecated and no longer maintained.
Instead the stale GHA should be used.

Signed-off-by: Wouter Born <github@maindrain.net>
2024-09-07 18:37:51 +02:00
Holger Friedrich
10a20af50c
[CI] Add Java 21 compiling to J17 and native J21 (#4186)
* [CI] Add Java 21 compiling to J17 and native J21

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-04-21 11:47:40 +02:00
Wouter Born
eb5ef3f9ed
Upgrade GHA dependencies (#4096)
This fixes the following deprecation warning:

> Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20

Signed-off-by: Wouter Born <github@maindrain.net>
2024-02-17 16:21:03 +01:00
Wouter Born
e765af06cb
Upgrade Maven and plug-ins (#3788)
* Use Maven 3.9.4 with GitHub Actions CI
* Upgrade Maven plug-ins

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-30 13:29:34 +02:00
Wouter Born
b745d70d6d
Add issue and pull request templates and configuration (#3463)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-01 14:39:25 +02:00
mueller-ma
79c7ec8379
Add issue template for Sitemap changes (#3427)
This makes sure all maintainers are notified.

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2023-03-18 09:12:51 +01:00
J-N-K
41ba3ff854
Raise minimum JDK version to 17 (#2994)
* Raise source level to Java 17 (except for model classes)
* Remove Nashorn script engine
* Upgrade spotless and add jvm options  
  See https://github.com/diffplug/spotless/issues/834
* Add suppression for findBugs false positive error
* Upgrade xtext to 2.29.0
* Adjust JNA
* Resolve itests

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-19 19:52:43 +01:00
Wouter Born
24cc559fa4
GitHub Actions workflow upgrades (#3218)
* Upgrade actions to fix deprecation warnings
* Use ubuntu-22.04 for builds

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-11 17:35:54 +01:00
Wouter Born
6b224b7002
GitHub Actions workflow improvements (#3015)
* Upgrade actions to latest versions
* Upgrade Maven to 3.8.6
* Use Temurin JDK instead of Zulu JDK

The Temurin JDK is preinstalled in the [Ubuntu image](https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md#java) whereas the Zulu JDK first need to be downloaded.
It should also perform better because the Temurin JDK is linked to glibc 2.12 whereas the Zulu JDK is linked to glibc 2.5.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-06-26 17:15:26 +02:00
J-N-K
6edab02c45
Enable stale bot (#2974)
Issues will be marked as stale after 60 days of inactivity when the "awaiting feedback" label is set. 180 days later the issue will be automatically closed. stale bot is limited to issues, not PR and will not consider issues that are marked with either "security", "pinned" or "PR pending" label.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-05-23 09:03:20 +02:00
Wouter Born
f664d756c7
Correct GHA build step condition (#2818)
Fixes that the wrong build step was made conditional in #2817.
It should conditionally add annotations.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-06 09:19:26 +01:00
Wouter Born
a54ef35adc
Add Java 17 to GHA CI build matrix (#2817)
This adds Java 17 to the GitHub Actions CI build matrix so we can make sure the build keeps working with both Java 11 and Java 17.
It also updates the required Java version range used by the enforcer plugin so it is also possible to build with the supported Java versions.
Furthermore it prevents duplicate error annotations being added by only adding these in the Java 11 matrix build.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-05 17:24:10 +01:00
Wouter Born
31cae197f3
Use Maven 3.8.4 in GHA CI builds (#2582)
This new version fixes a few regressions, see:

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316922&version=12350685

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-28 20:29:40 +01:00
Yannick Schaus
d4f62ed024
Add compilation errors & SAT GitHub annotations (#2543)
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-11-13 22:13:28 +01:00
Wouter Born
cd29a16609
GitHub Actions workflow improvements (#2557)
* Checkout merged branches for pull requests
* Echo the mvn command used for builds
* Use more functions in maven-build so it is similar to what will be used for add-on builds

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-04 14:36:18 +01:00
Wouter Born
dc9c649824
Add GitHub Actions CI build (#2541)
This PR adds a CI build using GitHub Actions.
Besides having a backup for Jenkins, it will also make it easy for contributors to use a GitHub Actions build with their fork.

It features the following:

* Uncluttered simple build progress like we used with Travis CI
* Uploads the full build log and SAT summary report so they can be downloaded for further analysis
* Uses a Maven repository cache to speed up builds (first build takes a bit longer)
* Has some maven.wagon configuration options to prevent Maven Central artifact download issues from Azure
* Uses a matrix so we can easily add builds for other OS-es or newer Java LTS versions in the future

Signed-off-by: Wouter Born <github@maindrain.net>
2021-10-27 09:56:50 +02:00