-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e49fa51
commit 20cf4b4
Showing
2 changed files
with
27 additions
and
668 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 |
---|---|---|
|
@@ -16,11 +16,15 @@ jobs: | |
fail-fast: false | ||
steps: | ||
- name: Checkout current branch | ||
uses: actions/checkout@v2.3.4 | ||
uses: actions/checkout@4.2.2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Scala and Java | ||
uses: olafurpg/setup-scala@v13 | ||
uses: actions/[email protected] | ||
with: | ||
distribution: temurin | ||
java-version: 11 | ||
check-latest: true | ||
- name: Cache scala dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Lint code | ||
|
@@ -32,19 +36,22 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
java: ['temurin:17', 'temurin:21'] | ||
scala: ['3.3.1', '2.13.12', '2.12.19'] | ||
java: ['11', '21'] | ||
scala: ['3.3.4', '2.13.15', '2.12.20'] | ||
env: | ||
AWS_ACCESS_KEY_ID: dummykey | ||
AWS_SECRET_ACCESS_KEY: dummykey | ||
AWS_REGION: us-east-1 | ||
steps: | ||
- uses: actions/checkout@v3.0.0 | ||
- uses: actions/checkout@4.2.2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: coursier/setup-action@v1 | ||
- name: Setup Scala and Java | ||
uses: actions/[email protected] | ||
with: | ||
jvm: ${{ matrix.java }} | ||
distribution: temurin | ||
java-version: ${{ matrix.java }} | ||
check-latest: true | ||
- name: Cache scala dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Run tests | ||
|
@@ -57,22 +64,23 @@ jobs: | |
mdoc: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 30 | ||
if: github.event_name != 'pull_request' | ||
steps: | ||
- name: Checkout current branch | ||
uses: actions/[email protected] | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Scala and Java | ||
uses: actions/setup-java@v3.9.0 | ||
uses: actions/setup-java@4.5.0 | ||
with: | ||
distribution: temurin | ||
java-version: 17 | ||
java-version: 11 | ||
check-latest: true | ||
- name: Setup GPG | ||
uses: olafurpg/setup-gpg@v3 | ||
- name: Cache scala dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Check Document Generation | ||
run: ./sbt docs/compileDocs | ||
run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m docs/compileDocs | ||
|
||
ci: | ||
runs-on: ubuntu-20.04 | ||
|
@@ -87,10 +95,15 @@ jobs: | |
needs: [ci] | ||
if: github.event_name != 'pull_request' | ||
steps: | ||
- uses: actions/checkout@v3.0.0 | ||
- uses: actions/checkout@4.2.2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: olafurpg/setup-scala@v13 | ||
- name: Setup Scala and Java | ||
uses: actions/[email protected] | ||
with: | ||
distribution: temurin | ||
java-version: 11 | ||
check-latest: true | ||
- run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m ci-release | ||
env: | ||
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | ||
|
Oops, something went wrong.