Commit Graph

36 Commits

Author SHA1 Message Date
Christian Koop
87db6cc5b7
ci: Fix potentially problematic increment_version value 2024-02-26 12:04:49 +01: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]
02ad1645bf
Bump actions/upload-artifact from 3 to 4 (#90)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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-01-01 14:04:04 +01:00
dependabot[bot]
f893864fae
Bump github/codeql-action from 2 to 3 (#89)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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-01-01 14:03:49 +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
a11c6aa691
GitHub Actions: Don't increment snapshot versions on dev branch 2023-06-17 14:37:53 +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
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
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
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
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
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
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
Christian Koop
6dbf806e7d EditorConfig 2021-07-08 15:37:37 +02:00
Christian Koop
64fa850955 GitHub-Actions: Use JDK 16 2021-06-25 16:21:56 +02:00
Brianna
7c0ce2505c Use JDK 16 on the 1.17 module while using JDK 8 on everything else 2021-06-13 10:26:08 -05:00
Brianna
7e869cdc07 Create maven.yml 2021-01-19 12:24:57 -06:00