-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update scala versions * update workflow * update ci pipeline * update * update * drop 11 * update * update * fmt
- Loading branch information
1 parent
469a93e
commit ce977ae
Showing
5 changed files
with
127 additions
and
783 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 |
---|---|---|
|
@@ -30,16 +30,16 @@ jobs: | |
- name: Cache scala dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Check code formatting | ||
run: ./sbt check | ||
run: sbt check | ||
|
||
compile: | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 30 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
java: ['17'] | ||
scala: ['2.12.19', '2.13.13', '3.3.3'] | ||
java: ['11'] | ||
scala: ['2.12.20', '2.13.15', '3.3.4'] | ||
steps: | ||
- name: Checkout current branch | ||
uses: actions/[email protected] | ||
|
@@ -54,16 +54,16 @@ jobs: | |
- name: Cache scala dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Compile sources | ||
run: ./sbt ++${{ matrix.scala }}! compileSources | ||
run: sbt ++${{ matrix.scala }}! compileSources | ||
|
||
test: | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 30 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
java: ['8', '11', '17'] | ||
scala: ['2.12.19', '2.13.13', '3.3.3'] | ||
java: ['11', '17', '21'] | ||
scala: ['2.12.20', '2.13.15', '3.3.4'] | ||
steps: | ||
- name: Checkout current branch | ||
uses: actions/[email protected] | ||
|
@@ -78,7 +78,7 @@ jobs: | |
- name: Cache scala dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Run tests | ||
run: ./sbt ++${{ matrix.scala }}! testAll | ||
run: sbt ++${{ matrix.scala }}! testAll | ||
|
||
publishLocal: | ||
runs-on: ubuntu-22.04 | ||
|
@@ -95,7 +95,7 @@ jobs: | |
- name: Cache scala dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Check that building packages works | ||
run: ./sbt +publishLocal | ||
run: sbt +publishLocal | ||
|
||
website: | ||
runs-on: ubuntu-22.04 | ||
|
@@ -112,7 +112,7 @@ jobs: | |
- name: Cache scala dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Check Website Generation | ||
run: ./sbt docs/compileDocs | ||
run: sbt docs/compileDocs | ||
|
||
ci: | ||
runs-on: ubuntu-22.04 | ||
|
@@ -135,12 +135,12 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
distribution: temurin | ||
java-version: 8 | ||
java-version: 17 | ||
check-latest: true | ||
- 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
Oops, something went wrong.