Commit Graph

55 Commits

Author SHA1 Message Date
Christian Koop
5fedd0a2b5
feat: Adds support for Spigot 1.20.2 (v1_20_R2)
#70
2023-10-17 17:20:44 +02:00
dependabot[bot]
20a10c3551
Bump actions/checkout from 3 to 4 (#69)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-01 22:15:43 +02:00
Christian Koop
a11c6aa691
GitHub Actions: Don't increment snapshot versions on dev branch 2023-06-17 14:37:53 +02:00
Christian Koop
2c6273c1b5
Compile v1_20_R1 nms module with Spigot 1.20.1 instead of 1.20 2023-06-14 21:34:05 +02:00
Christian Koop
61205da3b4
GitHub Actions: Updates some mentions of Songoda to represent rename 2023-06-11 00:41:05 +02:00
Christian Koop
4937fb7c44
Adds NMS module for Spigot v1_20_R1 2023-06-11 00:37:11 +02:00
Christian Koop
d695b8c1bd
Updates FUNDING.yml to point to Craftaro+ and remove Patreon 2023-06-10 22:50:20 +02:00
Christian Koop
346b621c1b
GitHub Actions: Updates the names of some secrets/variables in use 2023-05-23 20:49:30 +02:00
Christian Koop
22cfd623de
GitHub Actions: Updates the names of some secrets/variables in use 2023-05-23 20:06:39 +02:00
Christian Koop
e3153653ff
GitHub Actions: Updates projectKey and organization for SonarCloud
I've editted the organisation on SonarCloud and the organisation key changed.
2023-05-07 20:02:29 +02:00
Christian Koop
fa355cbdcc
GitHub Actions: Don't trigger SonarCloud for PRs but workflow_dispatch
They turns green if the PR comes from an outside collaborator because all steps
are skipped if the SONAR_TOKEN is not set.

I'd rather not run static analysis on PRs overall than having it turn out green.
2023-05-07 19:00:12 +02:00
Christian Koop
f00f157bfb
GitHub Actions: Updates actions/checkout from v2 to v3
Somehow Dependabot errors out when trying to check for updates
2023-05-07 18:40:27 +02:00
Christian Koop
55d4c7036b
GitHub Actions: Remove listening for pushes to development-v3 branch
The branch does not longer exist and has been merged
2023-05-07 18:25:34 +02:00
Christian Koop
a78c2a832e
GitHub Actions: Only deploy to maven repo on push event and not PRs 2023-05-07 18:25:00 +02:00
Christian Koop
edb62751ba
GitHub Actions: Set increment_version to patch outside of tags
When we release v.2.20.1 and add a commit, v2.20.1-SNAPSHOT is published,
which is not the correct version.
patch-level isn't right either always, but I think that's a good compromise for now.
2023-05-07 14:58:43 +02:00
Christian Koop
6d8c3beeb3
Merge branch 'development' into development-v3 2023-03-16 19:07:54 +01:00
Christian Koop
52f6c42266
Adds NMS Module v1_19_R3 for Spigot 1.19.4 compatibility 2023-03-16 09:46:40 +01:00
Christian Koop
f38296e4b1
GitHub Actions: Adds Spigot 1.18 + 1.19.3 to SonarCloud 2022-12-29 12:24:05 +01:00
Christian Koop
dcd6967828
GitHub Actions: Adds Spigot 1.19.3 to the setup-action to compile it 2022-12-29 11:28:17 +01:00
Christian Koop
c728c5fcc7
GitHub Actions: Adds Spigot 1.19.3 to the setup-action to compile it 2022-12-29 11:25:54 +01:00
Christian Koop
d939489861
Use 1.18-R0.1-SNAPSHOT instead of 1.18 in NMS-v1_18_R1 module 2022-12-25 22:49:39 +01:00
Christian Koop
00789921a3
Revert "GitHub Actions: Skip automated tests when running SonarCloud"
This reverts commit 59f4adfc6f.

We need the tests to generate the test coverage report. Didn't think of that.
2022-11-26 20:27:20 +01:00
Christian Koop
e2194e0dec
GitHub Actions: Adds missing empty line between steps in sonarcloud.yml 2022-11-26 20:26:01 +01:00
Christian Koop
59f4adfc6f
GitHub Actions: Skip automated tests when running SonarCloud
The build pipeline already runs the tests. I think it makes sense to run SonarCloud's static
code analysis when the project can be compiled without errors.
2022-11-26 15:36:29 +01:00
Christian Koop
6c6c3e950c
GitHub Actions: Enable build and sonarcloud workflow for v3-dev-branch 2022-11-26 00:01:00 +01:00
Christian Koop
5a7a3d052d
Cleanup YAML in .github/dependabot.yml 2022-11-25 23:59:56 +01:00
Christian Koop
954c5024a9
Reverts 'GitHub-Actions: Force Spigot 1.19.2 recompilation'
d51f72977b
2022-09-04 19:43:28 +02:00
Christian Koop
d51f72977b
GitHub-Actions: Force Spigot 1.19.2 recompilation
The non-mapped version is currently cached and thus not getting
recompiled. This is a temporary *fix* for that
2022-09-04 19:24:50 +02:00
l3st4tDevelopment
4800d69829
Add 1.19.2 to workflow 2022-09-03 03:01:17 -04:00
Christian Koop
fc2aefdd9e
Add full support for Minecraft 1.19.0, 1.19.1 and 1.19.2
Between 1.19.0 and 1.19.1 the NMS version did not change
although implementations changed
2022-08-28 18:43:20 +02:00
Christian Koop
e96cb5426d
Migrate v1_18_R1 NMS module to use remapped-spigot at compile-time 2022-08-28 16:54:29 +02:00
Christian Koop
76b3dc6682
Dependabot: Configure the target branch to be development 2022-08-19 10:53:17 +02:00
Christian Koop
7b775a1db3
GitHub-Actions: Fix Discord webhook URL used 2022-08-19 10:52:49 +02:00
Christian Koop
5e1f1b802c
Introduce new CI/CD pipeline using GitHub Actions
A lot is happening in this release!

tl;dr: GitHub Actions runs tests, compiles the project, signs the jar files, deploys them to the Maven repo; Pushing a git tag issues a release instead of snapshot deployment; -SNAPSHOT is always added to the version otherwise; Core Version is now injected by maven instead of manually updating it in one of the classes


We now use GitHub Actions to run automated tests, compile the project, sign the resulting jar files, and always deploy a version to the Maven repo.
By default, a snapshot release is published but by creating a git tag, a release deploy can be triggered.

Additionally the Core version is not manually updated in one of the classes but injected after compiling it.
I think I found the most stable and easiest way to do this in maven,
although I'd have wished for it to be easier and maybe not after the class file has already been created.
2022-08-07 19:33:38 +02:00
Christian Koop
d5a63fd38a
GitHub-Actions: Fix missing Spigot 1.19 for SonarCloud Workflow 2022-06-07 19:53:49 +02:00
Christian Koop
fc658d51c0
Adds Spigot 1.19 NMS module 2022-06-07 19:31:32 +02:00
Christian Koop
2a037e2853
Update required snakeyaml version from 1.26 to 1.30 (#41)
We probably want to take a look at what Spigot 1.8 comes with and if we are compatible or if we want to shade the lib into the Core instead.

Maybe we can have some kind of automatic legacy system that downloads an addional jar automatically when an unsupported Spigot version is detected... Lets see what time brings
2022-04-27 21:42:20 +02:00
Christian Koop
a0050aadd6
Adds Minecraft 1.18.2 support 2022-03-18 14:33:50 +01:00
Christian Koop
910e07dd90
Removes Dependabot 2022-01-02 23:11:55 +01:00
Christian Koop
6cd6506142
GitHub-Actions: Only run SonarCloud when token is set
Pull Requests often don't have the token (e.g. somebody outside of Songoda created it)
2022-01-02 23:10:08 +01:00
Christian Koop
e1db9b11cd
GitHub Actions: Run static code analysis with Java 17 2021-12-02 16:33:24 +01:00
Christian Koop
01e171ff44
GitHub Actions: Compile the project with Java 17
Minecraft 1.18 will require Java 17 to run
2021-11-21 19:51:46 +01:00
Christian Koop
783400d9a9
Adds SonarCloud (static analysis tool) 2021-10-30 15:22:23 +02:00
Christian Koop
39bdd862fb
Apply new code style [DEV-2] 2021-10-30 14:10:22 +02:00
Christian Koop
5255dbf701
Disables Dependabot for now 2021-10-02 09:44:32 +02:00
Christian Koop
183d56c488
Update .github/FUNDING.yml (Adds Songoda+ page) 2021-09-25 21:22:52 +02:00
Christian Koop
949228f5cd
GitHub-Actions: Contact Discord for specific branches
Only for `master` and `development`

[skip ci]
2021-07-08 20:44:35 +02:00
Christian Koop
20c3eceea2
GitHub-Actions: Send build status to Discord 2021-07-08 19:30:11 +02:00
Christian Koop
8eefbce68d Change dependency com.github.Zrips.Jobs version from LATEST to v4.17.2 2021-07-08 17:50:13 +02:00
Christian Koop
e1742385c5
Update GitHub-Actions 2021-07-08 15:47:34 +02:00