Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main into series/2.x #435

Merged
merged 159 commits into from
Aug 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
eb98524
Update sbt-typelevel, sbt-typelevel-site to 0.4.14
typelevel-steward[bot] Sep 16, 2022
6b960ca
Run prePR with sbt-typelevel
typelevel-steward[bot] Sep 16, 2022
f8949c6
Merge pull request #366 from typelevel/update/sbt-typelevel-0.4.14
danicheg Sep 16, 2022
2880aee
Update scala-library to 2.12.17
typelevel-steward[bot] Sep 17, 2022
ed3eb4b
Regenerate GitHub Actions workflow
typelevel-steward[bot] Sep 17, 2022
c3645fc
Merge pull request #367 from typelevel/update/scala-library-2.12.17
danicheg Sep 17, 2022
8861c20
Fix tuple link in README.md
SakulK Sep 19, 2022
01bd1d3
Merge pull request #368 from SakulK/fix-tuple-link
danicheg Sep 19, 2022
c1a2bd2
Update sbt-typelevel, sbt-typelevel-site to 0.4.15
typelevel-steward[bot] Sep 21, 2022
5ab4f37
Merge pull request #369 from typelevel/update/sbt-typelevel-0.4.15
danicheg Sep 21, 2022
b077ee1
Update scala-library to 2.13.9
typelevel-steward[bot] Sep 22, 2022
573138d
Regenerate GitHub Actions workflow
typelevel-steward[bot] Sep 22, 2022
acbe977
Fix issue with nowarn for MouseFunctions#ignore
danicheg Sep 25, 2022
99ecc90
Support Scala Native
danicheg Sep 25, 2022
faea865
Regenerate ci.yml
danicheg Sep 25, 2022
12de05a
Fix StringSyntaxTests
danicheg Sep 25, 2022
b6a795d
Fix MiMa settings for Scala Native
danicheg Sep 25, 2022
ef09fb7
Use Ubuntu 22.04 in CI
danicheg Sep 25, 2022
607a3f1
Add jvmopts
danicheg Sep 25, 2022
6823c15
Use type ascription to workaround the @nowarn issue
danicheg Sep 27, 2022
3f8bb6a
Merge pull request #370 from typelevel/update/scala-library-2.13.9
danicheg Sep 27, 2022
11dfd98
Update scala3-library, ... to 3.2.0
typelevel-steward[bot] Sep 27, 2022
b8e96bf
Regenerate GitHub Actions workflow
typelevel-steward[bot] Sep 27, 2022
b11dc55
Merge pull request #373 from typelevel/update/scala3-library-3.2.0
danicheg Sep 28, 2022
ed90c76
Merge branch 'main' into native
danicheg Sep 29, 2022
41e0038
Bump tlBaseVersion
danicheg Sep 29, 2022
794844c
Merge pull request #371 from danicheg/native
danicheg Sep 29, 2022
3fde08d
Update sbt to 1.7.2
typelevel-steward[bot] Oct 3, 2022
64554c8
Merge pull request #374 from typelevel/update/sbt-1.7.2
danicheg Oct 3, 2022
7ff8307
introduce leftWidenIn for F[Either[L, R]]
majk-p Oct 12, 2022
5d8098d
unroll implementation
majk-p Oct 12, 2022
2d92ac6
Merge pull request #375 from majk-p/leftWidenIn
danicheg Oct 12, 2022
2cffd09
Update sbt-typelevel, sbt-typelevel-site to 0.4.16
typelevel-steward[bot] Oct 13, 2022
3fcacec
Merge pull request #376 from typelevel/update/sbt-typelevel-0.4.16
danicheg Oct 13, 2022
b7bf3a4
Update scala-library to 2.13.10
typelevel-steward[bot] Oct 13, 2022
4a448cf
Regenerate GitHub Actions workflow
typelevel-steward[bot] Oct 13, 2022
cccfd28
Merge pull request #377 from typelevel/update/scala-library-2.13.10
danicheg Oct 13, 2022
2d76143
Add widenIn to FEither syntax
danicheg Oct 15, 2022
e792568
Merge pull request #378 from danicheg/feither-widen
danicheg Oct 16, 2022
97f9592
Update scalafmt-core to 3.6.0
typelevel-steward[bot] Oct 17, 2022
158d573
Merge pull request #379 from typelevel/update/scalafmt-core-3.6.0
danicheg Oct 17, 2022
41f2d39
Update sbt to 1.7.3
typelevel-steward[bot] Oct 31, 2022
0bfa088
Merge pull request #380 from typelevel/update/sbt-1.7.3
danicheg Oct 31, 2022
2a0d40f
Update scalafmt-core to 3.6.1
typelevel-steward[bot] Nov 1, 2022
8a2bea6
Merge pull request #381 from typelevel/update/scalafmt-core-3.6.1
danicheg Nov 1, 2022
eb8f11a
Update scala3-library, ... to 3.2.1
typelevel-steward[bot] Nov 7, 2022
e307f9c
Regenerate GitHub Actions workflow
typelevel-steward[bot] Nov 7, 2022
03a1213
Merge pull request #382 from typelevel/update/scala3-library-3.2.1
danicheg Nov 8, 2022
0362b9f
Update sbt to 1.8.0
typelevel-steward[bot] Nov 11, 2022
1219310
Merge pull request #384 from typelevel/update/sbt-1.8.0
danicheg Nov 11, 2022
af1ee5c
Update cats-core to 2.9.0
typelevel-steward[bot] Nov 13, 2022
20a1bd7
Merge pull request #385 from typelevel/update/cats-core-2.9.0
danicheg Nov 13, 2022
2c2c24e
Update sbt-typelevel, sbt-typelevel-site to 0.4.17
typelevel-steward[bot] Nov 15, 2022
3a05008
Run prePR with sbt-typelevel
typelevel-steward[bot] Nov 15, 2022
e919060
Merge pull request #386 from typelevel/update/sbt-typelevel-0.4.17
danicheg Nov 15, 2022
2d20a39
Update munit, munit-scalacheck to 1.0.0-M7
typelevel-steward[bot] Nov 18, 2022
fba8e15
Update sbt-scalajs, scalajs-compiler, ... to 1.11.0
typelevel-steward[bot] Nov 18, 2022
6abf1c3
Merge pull request #388 from typelevel/update/sbt-scalajs-1.11.0
danicheg Nov 18, 2022
09631f5
Merge branch 'main' into update/munit-1.0.0-M7
danicheg Nov 18, 2022
4f75742
Merge pull request #387 from typelevel/update/munit-1.0.0-M7
danicheg Nov 18, 2022
1837943
Update nscplugin, sbt-scala-native, ... to 0.4.9
typelevel-steward[bot] Nov 24, 2022
4f8756f
Merge pull request #389 from typelevel/update/nscplugin-0.4.9
danicheg Nov 24, 2022
d60f413
Use `tlCrossRootProject`
armanbilge Nov 29, 2022
a9c5505
Merge pull request #390 from armanbilge/topic/tl-cross-root-project
danicheg Nov 30, 2022
e746c88
Update sbt to 1.8.1
typelevel-steward[bot] Jan 4, 2023
c9ec6b3
Merge pull request #391 from typelevel/update/sbt-1.8.1
danicheg Jan 4, 2023
a39ade8
Update sbt to 1.8.2
typelevel-steward[bot] Jan 5, 2023
8da1136
Merge pull request #392 from typelevel/update/sbt-1.8.2
danicheg Jan 5, 2023
f03865e
Update sbt-typelevel, sbt-typelevel-site to 0.4.18
typelevel-steward[bot] Jan 7, 2023
533e776
Run prePR with sbt-typelevel
typelevel-steward[bot] Jan 7, 2023
c4c7081
Merge pull request #393 from typelevel/update/sbt-typelevel-0.4.18
danicheg Jan 7, 2023
bb00934
Update scalafmt-core to 3.7.0
typelevel-steward[bot] Jan 18, 2023
3369d64
Merge pull request #394 from typelevel/update/scalafmt-core-3.7.0
danicheg Jan 19, 2023
92c4941
Update scalafmt-core to 3.7.1
typelevel-steward[bot] Jan 23, 2023
a730d01
Merge pull request #395 from typelevel/update/scalafmt-core-3.7.1
danicheg Jan 24, 2023
527d57c
Update nscplugin, sbt-scala-native, ... to 0.4.10
typelevel-steward[bot] Jan 28, 2023
870837d
Merge pull request #396 from typelevel/update/nscplugin-0.4.10
danicheg Jan 29, 2023
e6b8bad
Update scala3-library, ... to 3.2.2
typelevel-steward[bot] Jan 30, 2023
b820cf3
Regenerate GitHub Actions workflow
typelevel-steward[bot] Jan 30, 2023
4f995d2
Merge pull request #397 from typelevel/update/scala3-library-3.2.2
danicheg Jan 30, 2023
8d2208e
Update sbt-scalajs, scalajs-compiler, ... to 1.13.0
typelevel-steward[bot] Feb 7, 2023
1c7b8a2
Merge pull request #398 from typelevel/update/sbt-scalajs-1.13.0
danicheg Feb 7, 2023
6d5a165
Update scalafmt-core to 3.7.2
typelevel-steward[bot] Feb 23, 2023
12542ab
Merge pull request #399 from typelevel/update/scalafmt-core-3.7.2
danicheg Feb 24, 2023
423563a
Update sbt-typelevel, sbt-typelevel-site to 0.4.19
typelevel-steward[bot] Mar 4, 2023
fa757f3
Run prePR with sbt-typelevel
typelevel-steward[bot] Mar 4, 2023
db778a9
Merge pull request #400 from typelevel/update/sbt-typelevel-0.4.19
danicheg Mar 4, 2023
175ee23
Update nscplugin, sbt-scala-native, ... to 0.4.11
typelevel-steward[bot] Mar 17, 2023
640b7b5
Merge pull request #401 from typelevel/update/nscplugin-0.4.11
danicheg Mar 17, 2023
a466fb9
Update nscplugin, sbt-scala-native, ... to 0.4.12
typelevel-steward[bot] Mar 22, 2023
61bfd37
Update scalafmt-core to 3.7.3
typelevel-steward[bot] Mar 28, 2023
ea32b44
Merge pull request #403 from typelevel/update/scalafmt-core-3.7.3
danicheg Mar 29, 2023
4a8d465
Update sbt-scala-native-crossproject, ... to 1.3.0
typelevel-steward[bot] Apr 6, 2023
3f1bdf0
Merge pull request #404 from typelevel/update/sbt-scala-native-crossp…
danicheg Apr 6, 2023
e737d15
Revert commit(s) a466fb9
typelevel-steward[bot] Apr 6, 2023
75b7dbb
Merge branch 'main' into update/nscplugin-0.4.12
typelevel-steward[bot] Apr 6, 2023
8613b9f
Update nscplugin, sbt-scala-native, ... to 0.4.12
typelevel-steward[bot] Apr 6, 2023
d3375db
Merge pull request #402 from typelevel/update/nscplugin-0.4.12
danicheg Apr 6, 2023
02de9af
Update sbt-scalajs, scalajs-compiler, ... to 1.13.1
typelevel-steward[bot] Apr 10, 2023
366ac49
Merge pull request #405 from typelevel/update/sbt-scalajs-1.13.1
danicheg Apr 10, 2023
3a8f593
Update sbt-scala-native-crossproject, ... to 1.3.1
typelevel-steward[bot] Apr 17, 2023
3e3fa2b
Merge pull request #406 from typelevel/update/sbt-scala-native-crossp…
danicheg Apr 18, 2023
2d2fabd
Update sbt-typelevel, sbt-typelevel-site to 0.4.20
typelevel-steward[bot] Apr 22, 2023
43375d7
Merge pull request #407 from typelevel/update/sbt-typelevel-0.4.20
danicheg Apr 22, 2023
92966b2
Update sbt to 1.8.3
typelevel-steward[bot] May 12, 2023
79caeaf
Merge pull request #408 from typelevel/update/sbt-1.8.3
danicheg May 12, 2023
a986397
Update sbt-typelevel, sbt-typelevel-site to 0.4.21
typelevel-steward[bot] May 12, 2023
6ce31b7
Run prePR with sbt-typelevel
typelevel-steward[bot] May 12, 2023
d3f71c2
Merge pull request #409 from typelevel/update/sbt-typelevel-0.4.21
danicheg May 13, 2023
d706fb0
Update scalafmt-core to 3.7.4
typelevel-steward[bot] May 31, 2023
3877b93
Merge pull request #410 from typelevel/update/scalafmt-core-3.7.4
danicheg May 31, 2023
333f292
Update scala3-library, ... to 3.3.0
typelevel-steward[bot] May 31, 2023
2b82c8d
Regenerate GitHub Actions workflow
typelevel-steward[bot] May 31, 2023
711f052
Merge pull request #411 from typelevel/update/scala3-library-3.3.0
danicheg Jun 1, 2023
161d062
Update sbt to 1.9.0
typelevel-steward[bot] Jun 2, 2023
16f557b
Update sbt-typelevel, sbt-typelevel-site to 0.4.22
typelevel-steward[bot] Jun 5, 2023
3e11a46
Merge pull request #414 from typelevel/update/sbt-typelevel-0.4.22
danicheg Jun 6, 2023
c69eab6
Update nscplugin, sbt-scala-native, ... to 0.4.14
typelevel-steward[bot] Jun 6, 2023
c53b693
Merge pull request #415 from typelevel/update/nscplugin-0.4.14
danicheg Jun 7, 2023
b354ebe
Update scala-library to 2.12.18
typelevel-steward[bot] Jun 7, 2023
e74e73a
Regenerate GitHub Actions workflow
typelevel-steward[bot] Jun 7, 2023
ed9f8bb
Update scala-library to 2.13.11
typelevel-steward[bot] Jun 7, 2023
3b3207c
Regenerate GitHub Actions workflow
typelevel-steward[bot] Jun 7, 2023
ff62b89
Merge pull request #412 from typelevel/update/sbt-1.9.0
danicheg Jun 8, 2023
da158d0
Update munit, munit-scalacheck to 1.0.0-M8
typelevel-steward[bot] Jun 9, 2023
002654d
Merge pull request #417 from typelevel/update/scala-library-2.13.11
danicheg Jun 10, 2023
e75d07f
Merge branch 'main' into update/scala-library-2.12.18
danicheg Jun 10, 2023
feaec61
Merge pull request #416 from typelevel/update/scala-library-2.12.18
danicheg Jun 10, 2023
1f28b99
Merge pull request #418 from typelevel/update/munit-1.0.0-M8
danicheg Jun 12, 2023
76ac0be
Update sbt-scalajs, scalajs-compiler, ... to 1.13.2
typelevel-steward[bot] Jun 23, 2023
1b3bd99
Merge pull request #419 from typelevel/update/sbt-scalajs-1.13.2
danicheg Jun 24, 2023
ad13bb9
Update sbt to 1.9.1
typelevel-steward[bot] Jun 26, 2023
2cbcb87
Merge pull request #420 from typelevel/update/sbt-1.9.1
danicheg Jun 26, 2023
5dae11c
Update scalafmt-core to 3.7.5
typelevel-steward[bot] Jun 30, 2023
e194a89
Merge pull request #421 from typelevel/update/scalafmt-core-3.7.5
danicheg Jul 3, 2023
22d8f62
Update scalafmt-core to 3.7.6
typelevel-steward[bot] Jul 4, 2023
7e63ffd
Merge pull request #422 from typelevel/update/scalafmt-core-3.7.6
danicheg Jul 4, 2023
f2a4150
Update scalafmt-core to 3.7.7
typelevel-steward[bot] Jul 5, 2023
26ea9c3
Merge pull request #423 from typelevel/update/scalafmt-core-3.7.7
danicheg Jul 6, 2023
78696b8
Update sbt-scala-native-crossproject, ... to 1.3.2
typelevel-steward[bot] Jul 7, 2023
31681ad
Merge pull request #424 from typelevel/update/sbt-scala-native-crossp…
danicheg Jul 7, 2023
e99fd35
Update sbt to 1.9.2
typelevel-steward[bot] Jul 10, 2023
4fcac25
Merge pull request #425 from typelevel/update/sbt-1.9.2
danicheg Jul 10, 2023
4c03462
Update scalafmt-core to 3.7.8
typelevel-steward[bot] Jul 11, 2023
6025066
Merge pull request #426 from typelevel/update/scalafmt-core-3.7.8
danicheg Jul 11, 2023
0fbd52d
Update scalafmt-core to 3.7.9
typelevel-steward[bot] Jul 13, 2023
18e14cb
Merge pull request #427 from typelevel/update/scalafmt-core-3.7.9
danicheg Jul 13, 2023
73b2815
Update scalafmt-core to 3.7.10
typelevel-steward[bot] Jul 16, 2023
bac8d1c
Merge pull request #428 from typelevel/update/scalafmt-core-3.7.10
danicheg Jul 17, 2023
48df5b6
Update sbt to 1.9.3
typelevel-steward[bot] Jul 24, 2023
1a93b1f
Merge pull request #429 from typelevel/update/sbt-1.9.3
danicheg Jul 24, 2023
22b5d67
Update scalafmt-core to 3.7.11
typelevel-steward[bot] Jul 27, 2023
80cd315
Merge pull request #430 from typelevel/update/scalafmt-core-3.7.11
danicheg Jul 27, 2023
e46fba2
Update scalafmt-core to 3.7.12
typelevel-steward[bot] Aug 4, 2023
d310488
Merge pull request #431 from typelevel/update/scalafmt-core-3.7.12
danicheg Aug 4, 2023
32964be
Update cats-core to 2.10.0
typelevel-steward[bot] Aug 14, 2023
5de1b32
Merge pull request #432 from typelevel/update/cats-core-2.10.0
danicheg Aug 14, 2023
bdeec0a
Merge branch 'main' into series/2.x
danicheg Aug 19, 2023
0cb66b6
Regenerate ci.yml
danicheg Aug 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
175 changes: 123 additions & 52 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,32 +27,37 @@ jobs:
name: Build and Test
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.12.16, 3.1.3, 2.13.8]
os: [ubuntu-22.04]
scala: [2.12.18, 3.3.0, 2.13.11]
java: [temurin@8, temurin@17]
project: [rootJS, rootJVM, rootNative]
exclude:
- scala: 2.12.16
- scala: 2.12.18
java: temurin@17
- scala: 3.3.0
java: temurin@17
- project: rootJS
java: temurin@17
- scala: 3.1.3
- project: rootNative
java: temurin@17
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Download Java (temurin@8)
id: download-java-temurin-8
if: matrix.java == 'temurin@8'
uses: typelevel/download-java@v1
uses: typelevel/download-java@v2
with:
distribution: temurin
java-version: 8

- name: Setup Java (temurin@8)
if: matrix.java == 'temurin@8'
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: jdkfile
java-version: 8
Expand All @@ -61,21 +66,21 @@ jobs:
- name: Download Java (temurin@17)
id: download-java-temurin-17
if: matrix.java == 'temurin@17'
uses: typelevel/download-java@v1
uses: typelevel/download-java@v2
with:
distribution: temurin
java-version: 17

- name: Setup Java (temurin@17)
if: matrix.java == 'temurin@17'
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: jdkfile
java-version: 17
jdkFile: ${{ steps.download-java-temurin-17.outputs.jdkFile }}

- name: Cache sbt
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.sbt
Expand All @@ -87,36 +92,44 @@ jobs:
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}

- name: Check that workflows are up to date
run: sbt '++${{ matrix.scala }}' 'project /' githubWorkflowCheck
run: sbt githubWorkflowCheck

- name: Check headers and formatting
if: matrix.java == 'temurin@8'
run: sbt '++${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck
if: matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04'
run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck

- name: scalaJSLink
if: matrix.project == 'rootJS'
run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' Test/scalaJSLinkerResult

- name: nativeLink
if: matrix.project == 'rootNative'
run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' Test/nativeLink

- name: Test
run: sbt '++${{ matrix.scala }}' test
run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' test

- name: Check binary compatibility
if: matrix.java == 'temurin@8'
run: sbt '++${{ matrix.scala }}' mimaReportBinaryIssues
if: matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04'
run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' mimaReportBinaryIssues

- name: Generate API documentation
if: matrix.java == 'temurin@8'
run: sbt '++${{ matrix.scala }}' doc
if: matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04'
run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' doc

- name: Make target directories
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/series/2.x')
run: mkdir -p target js/target jvm/target site/target project/target
run: mkdir -p js/target target .js/target site/target jvm/target .jvm/target .native/target native/target project/target

- name: Compress target directories
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/series/2.x')
run: tar cf targets.tar target js/target jvm/target site/target project/target
run: tar cf targets.tar js/target target .js/target site/target jvm/target .jvm/target .native/target native/target project/target

- name: Upload target directories
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/series/2.x')
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-${{ matrix.scala }}
name: target-${{ matrix.os }}-${{ matrix.java }}-${{ matrix.scala }}-${{ matrix.project }}
path: targets.tar

publish:
Expand All @@ -125,27 +138,26 @@ jobs:
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/series/2.x')
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.13.8]
os: [ubuntu-22.04]
java: [temurin@8]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Download Java (temurin@8)
id: download-java-temurin-8
if: matrix.java == 'temurin@8'
uses: typelevel/download-java@v1
uses: typelevel/download-java@v2
with:
distribution: temurin
java-version: 8

- name: Setup Java (temurin@8)
if: matrix.java == 'temurin@8'
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: jdkfile
java-version: 8
Expand All @@ -154,21 +166,21 @@ jobs:
- name: Download Java (temurin@17)
id: download-java-temurin-17
if: matrix.java == 'temurin@17'
uses: typelevel/download-java@v1
uses: typelevel/download-java@v2
with:
distribution: temurin
java-version: 17

- name: Setup Java (temurin@17)
if: matrix.java == 'temurin@17'
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: jdkfile
java-version: 17
jdkFile: ${{ steps.download-java-temurin-17.outputs.jdkFile }}

- name: Cache sbt
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.sbt
Expand All @@ -179,32 +191,92 @@ jobs:
~/Library/Caches/Coursier/v1
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}

- name: Download target directories (2.12.16)
uses: actions/download-artifact@v2
- name: Download target directories (2.12.18, rootJS)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12.18-rootJS

- name: Inflate target directories (2.12.18, rootJS)
run: |
tar xf targets.tar
rm targets.tar

- name: Download target directories (2.12.18, rootJVM)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12.18-rootJVM

- name: Inflate target directories (2.12.18, rootJVM)
run: |
tar xf targets.tar
rm targets.tar

- name: Download target directories (2.12.18, rootNative)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12.18-rootNative

- name: Inflate target directories (2.12.18, rootNative)
run: |
tar xf targets.tar
rm targets.tar

- name: Download target directories (3.3.0, rootJS)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-3.3.0-rootJS

- name: Inflate target directories (3.3.0, rootJS)
run: |
tar xf targets.tar
rm targets.tar

- name: Download target directories (3.3.0, rootJVM)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-3.3.0-rootJVM

- name: Inflate target directories (3.3.0, rootJVM)
run: |
tar xf targets.tar
rm targets.tar

- name: Download target directories (3.3.0, rootNative)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-3.3.0-rootNative

- name: Inflate target directories (3.3.0, rootNative)
run: |
tar xf targets.tar
rm targets.tar

- name: Download target directories (2.13.11, rootJS)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12.16
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13.11-rootJS

- name: Inflate target directories (2.12.16)
- name: Inflate target directories (2.13.11, rootJS)
run: |
tar xf targets.tar
rm targets.tar

- name: Download target directories (3.1.3)
uses: actions/download-artifact@v2
- name: Download target directories (2.13.11, rootJVM)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-3.1.3
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13.11-rootJVM

- name: Inflate target directories (3.1.3)
- name: Inflate target directories (2.13.11, rootJVM)
run: |
tar xf targets.tar
rm targets.tar

- name: Download target directories (2.13.8)
uses: actions/download-artifact@v2
- name: Download target directories (2.13.11, rootNative)
uses: actions/download-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13.8
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13.11-rootNative

- name: Inflate target directories (2.13.8)
- name: Inflate target directories (2.13.11, rootNative)
run: |
tar xf targets.tar
rm targets.tar
Expand All @@ -221,33 +293,32 @@ jobs:
(echo "$PGP_PASSPHRASE"; echo; echo) | gpg --command-fd 0 --pinentry-mode loopback --change-passphrase $(gpg --list-secret-keys --with-colons 2> /dev/null | grep '^sec:' | cut --delimiter ':' --fields 5 | tail -n 1)

- name: Publish
run: sbt '++${{ matrix.scala }}' tlRelease
run: sbt tlCiRelease

site:
name: Generate Site
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.13.8]
java: [temurin@8]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Download Java (temurin@8)
id: download-java-temurin-8
if: matrix.java == 'temurin@8'
uses: typelevel/download-java@v1
uses: typelevel/download-java@v2
with:
distribution: temurin
java-version: 8

- name: Setup Java (temurin@8)
if: matrix.java == 'temurin@8'
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: jdkfile
java-version: 8
Expand All @@ -256,21 +327,21 @@ jobs:
- name: Download Java (temurin@17)
id: download-java-temurin-17
if: matrix.java == 'temurin@17'
uses: typelevel/download-java@v1
uses: typelevel/download-java@v2
with:
distribution: temurin
java-version: 17

- name: Setup Java (temurin@17)
if: matrix.java == 'temurin@17'
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: jdkfile
java-version: 17
jdkFile: ${{ steps.download-java-temurin-17.outputs.jdkFile }}

- name: Cache sbt
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.sbt
Expand All @@ -282,11 +353,11 @@ jobs:
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}

- name: Generate site
run: sbt '++${{ matrix.scala }}' docs/tlSite
run: sbt docs/tlSite

- name: Publish site
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3.8.0
uses: peaceiris/actions-gh-pages@v3.9.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: site/target/docs/site
Expand Down
3 changes: 3 additions & 0 deletions .jvmopts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-Xms1G
-Xmx4G
-XX:+UseG1GC
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.5.9
version = 3.7.12
align.openParenCallSite = true
align.openParenDefnSite = true
maxColumn = 120
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Mouse includes enrichments for:
- [Set](./shared/src/main/scala/mouse/set.scala)
- [String](./shared/src/main/scala/mouse/string.scala)
- [Try](./shared/src/main/scala/mouse/try.scala)
- [Tuple](./shared/src/main/scala-2.x/src/main/scala/mouse/tuple.scala)
- [Tuple](./shared/src/main/scala-2/src/main/scala/mouse/tuple.scala)

#### Example:

Expand Down
Loading