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

Update github workflows #632

Merged
merged 1 commit into from
Feb 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
48 changes: 39 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: olafurpg/setup-scala@v13
- uses: actions/setup-java@v3
with:
java-version: "adopt@1.${{ matrix.java }}"
distribution: temurin
java-version: "${{ matrix.java }}"
cache: sbt
- run: sbt +testsJVM/test plugin/test
env:
GOOGLE_APPLICATION_CREDENTIALS:
Expand All @@ -26,7 +28,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: olafurpg/setup-scala@v13
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
cache: sbt
- run: sbt +testsJS/test
env:
GOOGLE_APPLICATION_CREDENTIALS:
Expand All @@ -37,7 +43,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: olafurpg/setup-scala@v13
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
cache: sbt
- run: npm install
- run: sbt +testsJS/test
env:
Expand All @@ -49,7 +59,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: olafurpg/setup-scala@v13
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
cache: sbt
- run: sbt +testsNative/test
env:
GOOGLE_APPLICATION_CREDENTIALS:
Expand All @@ -60,7 +74,11 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: olafurpg/setup-scala@v13
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
cache: sbt
- run: sbt +testsJVM/test
shell: bash
env:
Expand All @@ -72,20 +90,32 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: olafurpg/setup-scala@v13
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
cache: sbt
- run: sbt mimaReportBinaryIssues
scalafmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: olafurpg/setup-scala@v13
- uses: actions/setup-java@v3
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@v3
- uses: olafurpg/setup-scala@v13
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
cache: sbt
- run: sbt scalafixCheckAll
- run: sbt docs/docusaurusCreateSite
env:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: olafurpg/setup-scala@v13
- uses: olafurpg/setup-gpg@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
cache: sbt
- run: git fetch --unshallow
- name: Publish ${{ github.ref }}
run: |
Expand Down