-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade Scala 3, ZIO and scalafmt (#478)
- Loading branch information
Showing
5 changed files
with
33 additions
and
17 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 |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
- name: Cache scala dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Lint code | ||
run: sbt check | ||
run: ./sbt check | ||
|
||
mdoc: | ||
runs-on: ubuntu-20.04 | ||
|
@@ -41,7 +41,7 @@ jobs: | |
- name: Cache scala dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Check Document Generation | ||
run: sbt docs/docusaurusCreateSite | ||
run: ./sbt docs/docusaurusCreateSite | ||
|
||
test: | ||
runs-on: ubuntu-20.04 | ||
|
@@ -50,7 +50,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
java: ['[email protected]', '[email protected]'] | ||
scala: ['2.12.15', '2.13.7', '3.0.2'] | ||
scala: ['2.12.15', '2.13.7', '3.1.0'] | ||
steps: | ||
- name: Checkout current branch | ||
uses: actions/[email protected] | ||
|
@@ -63,7 +63,7 @@ jobs: | |
- name: Cache scala dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Run tests | ||
run: sbt ++${{ matrix.scala }}! test | ||
run: ./sbt ++${{ matrix.scala }}! test | ||
- name: Compile examples | ||
if: ${{ startsWith(matrix.scala, '2') }} | ||
run: ./sbt ++${{ matrix.scala }}! compileExamples | ||
|
@@ -90,7 +90,7 @@ jobs: | |
- name: Cache scala dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Release artifacts | ||
run: sbt ci-release | ||
run: ./sbt ci-release | ||
env: | ||
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | ||
PGP_SECRET: ${{ secrets.PGP_SECRET }} | ||
|
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