Try to test out setup-java CI action (#4466)

* Try to test out setup-java CI action

* Attempt to fix
This commit is contained in:
Chris Stewart 2022-07-08 13:43:17 -05:00 committed by GitHub
parent 5df5bf6741
commit 2968a9ee15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 84 additions and 50 deletions

View File

@ -16,16 +16,10 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
- name: Cache
uses: actions/cache@v2
with:
path: |
~/.ivy2/cache
~/.sbt
~/.bitcoin-s/binaries
key: ${{ runner.os }}-cache
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Compile and Check Formatting
run: sbt -J-Xmx2g +test:compile scalafmtCheckAll

View File

@ -15,9 +15,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Cache
uses: actions/cache@v2
with:

View File

@ -16,9 +16,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Cache
uses: actions/cache@v2
with:

View File

@ -16,9 +16,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Cache
uses: actions/cache@v2
with:

View File

@ -16,9 +16,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Cache
uses: actions/cache@v2
with:

View File

@ -16,9 +16,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Cache
uses: actions/cache@v2
with:

View File

@ -16,9 +16,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Cache
uses: actions/cache@v2
with:

View File

@ -16,9 +16,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Cache
uses: actions/cache@v2
with:

View File

@ -16,9 +16,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Cache
uses: actions/cache@v2
with:

View File

@ -16,9 +16,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Cache
uses: actions/cache@v2
with:

View File

@ -16,9 +16,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Cache
uses: actions/cache@v2
with:

View File

@ -16,9 +16,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Cache
uses: actions/cache@v2
with:

View File

@ -16,9 +16,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Cache
uses: actions/cache@v2
with:

View File

@ -18,9 +18,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Cache
uses: actions/cache@v2
with:

View File

@ -18,9 +18,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Cache
uses: actions/cache@v2
with:

View File

@ -18,9 +18,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Cache
uses: actions/cache@v2
with:

View File

@ -19,9 +19,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Cache
uses: actions/cache@v2
with:

View File

@ -20,9 +20,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Get Previous tag
id: previoustag
uses: WyriHaximus/github-action-get-previous-tag@v1
@ -107,9 +109,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Get Previous tag
id: previoustag
uses: WyriHaximus/github-action-get-previous-tag@v1
@ -149,9 +153,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Get Previous tag
id: previoustag
uses: WyriHaximus/github-action-get-previous-tag@v1

View File

@ -49,9 +49,11 @@ jobs:
with:
fetch-depth: 0
- name: Setup Scala
uses: olafurpg/setup-scala@v13
uses: actions/setup-java@v3
with:
java-version: openjdk@1.17.0
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Get Previous tag
id: previoustag
uses: WyriHaximus/github-action-get-previous-tag@v1