Commit Graph

16 Commits

Author SHA1 Message Date
Christian Koop
daffc4bf9e
ci: configure SFTP-Cache for SpraxDev/Action-SpigotMC
This a freshly released feature that should reduce the build times noticeably
2024-05-09 21:53:46 +02:00
dependabot[bot]
b1178b4aec
Bump actions/cache from 3 to 4 (#91)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  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>
2024-02-02 08:24:32 +01: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
61205da3b4
GitHub Actions: Updates some mentions of Songoda to represent rename 2023-06-11 00:41:05 +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
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
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
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
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
783400d9a9
Adds SonarCloud (static analysis tool) 2021-10-30 15:22:23 +02:00