-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* also enabled compiler warnings * switched to commons-text since other was deprecated
- Loading branch information
Showing
8 changed files
with
117 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,47 +27,27 @@ jobs: | |
- name: Cache Coursier cache | ||
uses: coursier/[email protected] | ||
|
||
- name: Set up JDK 17 | ||
uses: coursier/[email protected] | ||
with: | ||
jvm: temurin:1.17.0 | ||
|
||
- name: Code style check and binary-compatibility check | ||
run: |- | ||
cp .jvmopts-ci .jvmopts | ||
sbt scalafmtCheckAll scalafmtSbtCheck headerCheck | ||
compile-with-scala-2_12: | ||
name: Compile with Scala 2.12 | ||
runs-on: ubuntu-22.04 | ||
if: github.repository == 'akka/akka-diagnostics' | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
with: | ||
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves | ||
fetch-depth: 0 | ||
- name: Checkout GitHub merge | ||
if: github.event.pull_request | ||
run: |- | ||
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch | ||
git checkout scratch | ||
- name: Cache Coursier cache | ||
uses: coursier/[email protected] | ||
|
||
- name: Set up JDK 8 | ||
uses: coursier/[email protected] | ||
with: | ||
jvm: temurin:1.8.0 | ||
|
||
- name: Code style check and binary-compatibility check | ||
- name: Code style check, compilation and binary-compatibility check | ||
run: |- | ||
cp .jvmopts-ci .jvmopts | ||
sbt ++2.12 compile Test/compile | ||
sbt scalafmtCheckAll scalafmtSbtCheck headerCheck +Test/compile | ||
test-diagnostics-11: | ||
name: Run tests 11 | ||
test: | ||
name: Run tests | ||
runs-on: ubuntu-22.04 | ||
if: github.repository == 'akka/akka-diagnostics' | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- { jdkVersion: "1.8.0", jvmName: "temurin:1.8.0" } | ||
- { jdkVersion: "1.11.0", jvmName: "temurin:1.11.0" } | ||
- { jdkVersion: "1.17.0", jvmName: "temurin:1.17.0" } | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
@@ -82,18 +62,18 @@ jobs: | |
- name: Cache Coursier cache | ||
uses: coursier/[email protected] | ||
|
||
- name: Set up JDK 11 | ||
- name: Set up JDK ${{ matrix.jdkVersion }} | ||
uses: coursier/[email protected] | ||
with: | ||
jvm: temurin:1.11.0 | ||
jvm: ${{ matrix.jvmName }} | ||
|
||
- name: sbt test | ||
run: |- | ||
cp .jvmopts-ci .jvmopts | ||
sbt test | ||
test-diagnostics-17: | ||
name: Run tests 17 | ||
check-docs: | ||
name: Check Docs | ||
runs-on: ubuntu-22.04 | ||
if: github.repository == 'akka/akka-diagnostics' | ||
steps: | ||
|
@@ -107,6 +87,7 @@ jobs: | |
run: |- | ||
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch | ||
git checkout scratch | ||
- name: Cache Coursier cache | ||
uses: coursier/[email protected] | ||
|
||
|
@@ -115,7 +96,5 @@ jobs: | |
with: | ||
jvm: temurin:1.17.0 | ||
|
||
- name: sbt test | ||
run: |- | ||
cp .jvmopts-ci .jvmopts | ||
sbt test | ||
- name: Create all API docs for artifacts/website and all reference docs | ||
run: sbt "unidoc; docs/paradox" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.