mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-01-19 05:43:51 +01:00
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:
parent
5df5bf6741
commit
2968a9ee15
14
.github/workflows/Compile.yml
vendored
14
.github/workflows/Compile.yml
vendored
@ -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
|
||||
|
6
.github/workflows/Docs.yml
vendored
6
.github/workflows/Docs.yml
vendored
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
6
.github/workflows/Linux_2.12_Node_Tests.yml
vendored
6
.github/workflows/Linux_2.12_Node_Tests.yml
vendored
@ -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:
|
||||
|
6
.github/workflows/Linux_2.12_RPC_Tests.yml
vendored
6
.github/workflows/Linux_2.12_RPC_Tests.yml
vendored
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
6
.github/workflows/Linux_2.13_Node_Tests.yml
vendored
6
.github/workflows/Linux_2.13_Node_Tests.yml
vendored
@ -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:
|
||||
|
6
.github/workflows/Linux_2.13_RPC_Tests.yml
vendored
6
.github/workflows/Linux_2.13_RPC_Tests.yml
vendored
@ -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:
|
||||
|
@ -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:
|
||||
|
6
.github/workflows/Mac_2.13_RPC_Tests.yml
vendored
6
.github/workflows/Mac_2.13_RPC_Tests.yml
vendored
@ -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:
|
||||
|
@ -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:
|
||||
|
6
.github/workflows/PostgresTests.yml
vendored
6
.github/workflows/PostgresTests.yml
vendored
@ -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:
|
||||
|
6
.github/workflows/Secp_Disabled_Tests.yml
vendored
6
.github/workflows/Secp_Disabled_Tests.yml
vendored
@ -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:
|
||||
|
6
.github/workflows/TorTests.yml
vendored
6
.github/workflows/TorTests.yml
vendored
@ -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:
|
||||
|
6
.github/workflows/Windows.yml
vendored
6
.github/workflows/Windows.yml
vendored
@ -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:
|
||||
|
18
.github/workflows/javafx.yml
vendored
18
.github/workflows/javafx.yml
vendored
@ -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
|
||||
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user