-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Attempt cross-build to scala 3 * Only use kind-projector plugin under scala 2 * Do not duplicate sbt-tpolecat options * Add source 3 cross-compilation * Add scalafmt * Remove redundant final modifier * Make UtilitiesTest work under scala 3 expect implementation
- Loading branch information
Showing
16 changed files
with
178 additions
and
110 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,7 +27,7 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
scala: [2.13.15, 2.12.20] | ||
scala: [2.13.15, 2.12.20, 3.3.4] | ||
java: [temurin@21] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
|
@@ -50,12 +50,12 @@ jobs: | |
- name: Check that workflows are up to date | ||
run: sbt '++ ${{ matrix.scala }}' githubWorkflowCheck | ||
|
||
- run: sbt '++ ${{ matrix.scala }}' scalafmtCheck | ||
|
||
- env: | ||
HONEYCOMB_WRITE_KEY: ${{ secrets.HONEYCOMB_WRITE_KEY }} | ||
run: sbt '++ ${{ matrix.scala }}' test | ||
|
||
- run: 'bash <(curl -s https://codecov.io/bash)' | ||
|
||
- name: Compress target directories | ||
run: tar cf targets.tar target project/target | ||
|
||
|
@@ -112,6 +112,16 @@ jobs: | |
tar xf targets.tar | ||
rm targets.tar | ||
- name: Download target directories (3.3.4) | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: target-${{ matrix.os }}-3.3.4-${{ matrix.java }} | ||
|
||
- name: Inflate target directories (3.3.4) | ||
run: | | ||
tar xf targets.tar | ||
rm targets.tar | ||
- run: | | ||
git config user.name "Github Actions (dimitarg/weaver-test-extra)" | ||
git config user.email "[email protected]" | ||
|
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
version = 3.8.2 | ||
runner.dialect = scala213source3 | ||
maxColumn = 120 |
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
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
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.