-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'series/4.x' into improve-docs
- Loading branch information
Showing
24 changed files
with
428 additions
and
284 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 |
---|---|---|
|
@@ -19,31 +19,58 @@ jobs: | |
steps: | ||
- name: Checkout current branch | ||
uses: actions/[email protected] | ||
- name: Setup Scala and Java | ||
uses: olafurpg/setup-scala@v14 | ||
- name: Setup Java | ||
uses: actions/[email protected] | ||
with: | ||
distribution: temurin | ||
java-version: 11 | ||
check-latest: true | ||
- name: Cache scala dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Check Document Generation | ||
run: ./sbt docs/compileDocs | ||
run: sbt docs/compileDocs | ||
|
||
lint: | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 30 | ||
steps: | ||
- name: Checkout current branch | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Java | ||
uses: actions/[email protected] | ||
with: | ||
distribution: temurin | ||
java-version: 11 | ||
check-latest: true | ||
- name: Cache scala dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Check formatting | ||
run: sbt fmt | ||
- name: Check binary compatibility | ||
run: sbt "++2.12; checkMima; ++2.13; checkMima; ++3.3; checkMima" | ||
|
||
test: | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 30 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
java: ['[email protected]', '[email protected]'] | ||
scala: ['2.12.18', '2.13.12', '3.4.1'] | ||
java: ['11', '21'] | ||
scala: ['2.12.20', '2.13.15', '3.3.4'] | ||
platform: ['JS', 'JVM', 'Native'] | ||
steps: | ||
- name: Checkout current branch | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Scala and Java | ||
uses: olafurpg/setup-scala@v14 | ||
- name: Setup Java | ||
uses: actions/setup-[email protected] | ||
with: | ||
distribution: temurin | ||
java-version: ${{ matrix.java }} | ||
check-latest: true | ||
- name: Cache scala dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Run JS tests | ||
|
@@ -76,8 +103,12 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Scala and Java | ||
uses: olafurpg/setup-scala@v14 | ||
- name: Setup Java | ||
uses: actions/[email protected] | ||
with: | ||
distribution: temurin | ||
java-version: 11 | ||
check-latest: true | ||
- name: Cache scala dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Release artifacts | ||
|
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 |
---|---|---|
|
@@ -21,16 +21,16 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
fetch-depth: '0' | ||
- name: Setup Scala | ||
uses: actions/setup-java@v3.9.0 | ||
- name: Setup JVM | ||
uses: actions/setup-java@v4.5.0 | ||
with: | ||
distribution: temurin | ||
java-version: 17 | ||
check-latest: true | ||
- name: Check that site workflow is up to date | ||
run: sbt docs/checkGithubWorkflow | ||
- name: Setup SBT | ||
uses: sbt/setup-sbt@v1 | ||
- name: Check website build process | ||
run: sbt docs/buildWebsite | ||
run: sbt docs/buildWebsite | ||
publish-docs: | ||
name: Publish Docs | ||
runs-on: ubuntu-latest | ||
|
@@ -40,19 +40,21 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
fetch-depth: '0' | ||
- name: Setup Scala | ||
uses: actions/setup-java@v3.9.0 | ||
- name: Setup JVM | ||
uses: actions/setup-java@v4.5.0 | ||
with: | ||
distribution: temurin | ||
java-version: 17 | ||
check-latest: true | ||
- name: Setup SBT | ||
uses: sbt/setup-sbt@v1 | ||
- name: Setup NodeJs | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.x | ||
registry-url: https://registry.npmjs.org | ||
- name: Publish Docs to NPM Registry | ||
run: sbt docs/publishToNpm | ||
run: sbt docs/publishToNpm | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
generate-readme: | ||
|
@@ -65,14 +67,16 @@ jobs: | |
with: | ||
ref: ${{ github.head_ref }} | ||
fetch-depth: '0' | ||
- name: Setup Scala | ||
uses: actions/setup-java@v3.9.0 | ||
- name: Setup JVM | ||
uses: actions/setup-java@v4.5.0 | ||
with: | ||
distribution: temurin | ||
java-version: 17 | ||
check-latest: true | ||
- name: Setup SBT | ||
uses: sbt/setup-sbt@v1 | ||
- name: Generate Readme | ||
run: sbt docs/generateReadme | ||
run: sbt docs/generateReadme | ||
- name: Commit Changes | ||
run: | | ||
git config --local user.email "github-actions[bot]@users.noreply.github.com" | ||
|
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.