From 664b00771c54127da42e8bec1e748a1441a395ec Mon Sep 17 00:00:00 2001 From: Netherwhal Date: Sat, 2 Mar 2024 23:03:59 +0100 Subject: [PATCH] test --- .github/workflows/build-and-publish.yml | 5 +++++ build.gradle | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 2e2bc29..08cd123 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -23,6 +23,11 @@ jobs: - name: Build jar run: make + - name: Report coverage + run: make coveralls + env: # Or as an environment variable + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') diff --git a/build.gradle b/build.gradle index 7ec386c..574151f 100644 --- a/build.gradle +++ b/build.gradle @@ -8,6 +8,10 @@ plugins { group = 'net.simplyvanilla' version = '0.1.0' +java { + toolchain.languageVersion.set(JavaLanguageVersion.of(17)) +} + repositories { mavenCentral() maven {