Skip to content

Extract diff module #1458

Extract diff module

Extract diff module #1458

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
jvm:
strategy:
fail-fast: false
matrix:
java: [11, 8]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "${{ matrix.java }}"
cache: sbt
- run: sbt +testsJVM/test plugin/test
env:
GOOGLE_APPLICATION_CREDENTIALS:
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
GOOGLE_APPLICATION_CREDENTIALS_JSON:
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }}
js:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
cache: sbt
- run: sbt +testsJS/test
env:
GOOGLE_APPLICATION_CREDENTIALS:
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
GOOGLE_APPLICATION_CREDENTIALS_JSON:
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }}
jsdom:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
cache: sbt
- run: npm install
- run: sbt +testsJS/test
env:
GOOGLE_APPLICATION_CREDENTIALS:
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
GOOGLE_APPLICATION_CREDENTIALS_JSON:
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }}
native:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
cache: sbt
- run: sbt +testsNative/test
env:
GOOGLE_APPLICATION_CREDENTIALS:
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
GOOGLE_APPLICATION_CREDENTIALS_JSON:
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }}
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
cache: sbt
- run: sbt +testsJVM/test
shell: bash
env:
GOOGLE_APPLICATION_CREDENTIALS:
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
GOOGLE_APPLICATION_CREDENTIALS_JSON:
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }}
mima:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
cache: sbt
- run: sbt mimaReportBinaryIssues
scalafmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
cache: sbt
- run: ./bin/scalafmt --check
docs:
name: Scalafix and Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
cache: sbt
- run: sbt scalafixCheckAll
- run: sbt docs/docusaurusCreateSite
env:
GOOGLE_APPLICATION_CREDENTIALS:
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
GOOGLE_APPLICATION_CREDENTIALS_JSON:
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }}