mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-03-03 18:47:38 +01:00
Upgrade cache action to v3 (#5326)
* Upgrade cache action to v3 * Make unique cache names * Empty commit to run CI * Empty commit to re-run CI
This commit is contained in:
parent
747389e77d
commit
1084be80ad
11 changed files with 26 additions and 18 deletions
8
.github/workflows/Compile.yml
vendored
8
.github/workflows/Compile.yml
vendored
|
@ -20,5 +20,13 @@ jobs:
|
|||
distribution: 'adopt'
|
||||
java-version: '17'
|
||||
cache: 'sbt'
|
||||
- name: Cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.ivy2/cache
|
||||
~/.sbt
|
||||
~/.bitcoin-s/binaries
|
||||
key: ${{ runner.os }}-compile-cache
|
||||
- name: Compile and Check Formatting
|
||||
run: sbt -J-Xmx2g +test:compile scalafmtCheckAll docs/mdoc
|
||||
|
|
|
@ -24,12 +24,12 @@ jobs:
|
|||
java-version: '17'
|
||||
cache: 'sbt'
|
||||
- name: Cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.ivy2/cache
|
||||
~/.sbt
|
||||
~/.bitcoin-s/binaries
|
||||
key: ${{ runner.os }}-cache
|
||||
key: ${{ runner.os }}-app-chain-core-tests-cache
|
||||
- name: run tests
|
||||
run: sbt coverage dbCommonsTest/test chainTest/test chain/coverageReport chain/coverageAggregate chain/coveralls cryptoTestJVM/test cryptoJVM/test cryptoJVM/coverageReport cryptoJVM/coverageAggregate cryptoJVM/coveralls coreTestJVM/test coreJVM/coverageReport coreJVM/coverageAggregate coreJVM/coveralls secp256k1jni/test zmq/test zmq/coverageReport zmq/coverageAggregate zmq/coveralls appCommonsTest/test appServerTest/test oracleServerTest/test lnurlTest/test
|
||||
|
|
|
@ -22,12 +22,12 @@ jobs:
|
|||
java-version: '17'
|
||||
cache: 'sbt'
|
||||
- name: Cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.ivy2/cache
|
||||
~/.sbt
|
||||
~/.bitcoin-s/binaries
|
||||
key: ${{ runner.os }}-cache
|
||||
key: ${{ runner.os }}-keymanager-wallet-dlc-test-cache
|
||||
- name: run tests
|
||||
run: sbt coverage keyManagerTest/test keyManager/coverageReport keyManager/coverageAggregate keyManager/coveralls feeProviderTest/test walletTest/test dlcWalletTest/test wallet/coverageReport wallet/coverageAggregate wallet/coveralls dlcOracleTest/test asyncUtilsTestJVM/test dlcOracle/coverageReport dlcOracle/coverageAggregate dlcOracle/coveralls
|
||||
|
|
4
.github/workflows/Linux_2.13_Node_Tests.yml
vendored
4
.github/workflows/Linux_2.13_Node_Tests.yml
vendored
|
@ -22,12 +22,12 @@ jobs:
|
|||
java-version: '17'
|
||||
cache: 'sbt'
|
||||
- name: Cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.ivy2/cache
|
||||
~/.sbt
|
||||
~/.bitcoin-s/binaries
|
||||
key: ${{ runner.os }}-cache
|
||||
key: ${{ runner.os }}-node-test-cache
|
||||
- name: run tests
|
||||
run: sbt -J-Xmx2g cryptoTestJS/test coreJS/test 'set scalaJSStage in Global := FullOptStage' cryptoTestJS/test coreJS/test asyncUtilsTestJS/test coverage nodeTest/test node/coverageReport node/coverageAggregate node/coveralls dlcNodeTest/test
|
||||
|
|
4
.github/workflows/Linux_2.13_RPC_Tests.yml
vendored
4
.github/workflows/Linux_2.13_RPC_Tests.yml
vendored
|
@ -22,12 +22,12 @@ jobs:
|
|||
java-version: '17'
|
||||
cache: 'sbt'
|
||||
- name: Cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.ivy2/cache
|
||||
~/.sbt
|
||||
~/.bitcoin-s/binaries
|
||||
key: ${{ runner.os }}-cache
|
||||
key: ${{ runner.os }}-rpc-tests-cache
|
||||
- name: run tests
|
||||
run: sbt coverage bitcoindRpcTest/test bitcoindRpc/coverageReport bitcoindRpc/coverageAggregate bitcoindRpc/coveralls eclairRpcTest/test eclairRpc/coverageReport eclairRpc/coverageAggregate eclairRpc/coveralls lndRpcTest/test clightningRpcTest/test esploraTest/test
|
||||
|
|
4
.github/workflows/Mac_2.13_RPC_Tests.yml
vendored
4
.github/workflows/Mac_2.13_RPC_Tests.yml
vendored
|
@ -22,12 +22,12 @@ jobs:
|
|||
java-version: '17'
|
||||
cache: 'sbt'
|
||||
- name: Cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.ivy2/cache
|
||||
~/.sbt
|
||||
~/.bitcoin-s/binaries
|
||||
key: ${{ runner.os }}-cache
|
||||
key: ${{ runner.os }}-rpc-tests-cache
|
||||
- name: run tests
|
||||
run: sbt coverage bitcoindRpcTest/test bitcoindRpc/coverageReport bitcoindRpc/coverageAggregate bitcoindRpc/coveralls eclairRpcTest/test eclairRpc/coverageReport eclairRpc/coverageAggregate eclairRpc/coveralls lndRpcTest/test esploraTest/test
|
||||
|
|
|
@ -22,12 +22,12 @@ jobs:
|
|||
java-version: '17'
|
||||
cache: 'sbt'
|
||||
- name: Cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.ivy2/cache
|
||||
~/.sbt
|
||||
~/.bitcoin-s/binaries
|
||||
key: ${{ runner.os }}-cache
|
||||
key: ${{ runner.os }}-wallet-node-dlc-test-cache
|
||||
- name: run tests
|
||||
run: sbt coverage cryptoTestJVM/test coreTestJVM/test secp256k1jni/test appCommonsTest/test walletTest/test dlcWalletTest/test wallet/coverageReport wallet/coverageAggregate wallet/coveralls nodeTest/test node/coverageReport node/coverageAggregate node/coveralls dlcOracleTest/test asyncUtilsTestJVM/test dlcOracle/coverageReport dlcOracle/coveralls dlcNodeTest/test appServerTest/test
|
||||
|
|
4
.github/workflows/PostgresTests.yml
vendored
4
.github/workflows/PostgresTests.yml
vendored
|
@ -26,12 +26,12 @@ jobs:
|
|||
java-version: '17'
|
||||
cache: 'sbt'
|
||||
- name: Cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.ivy2/cache
|
||||
~/.sbt
|
||||
~/.bitcoin-s/binaries
|
||||
key: ${{ runner.os }}-cache
|
||||
key: ${{ runner.os }}-postgres-cache
|
||||
- name: run tests
|
||||
run: sbt dbCommonsTest/test walletTest/test dlcWalletTest/test chainTest/test dlcOracleTest/test nodeTest/test
|
||||
|
|
4
.github/workflows/Secp_Disabled_Tests.yml
vendored
4
.github/workflows/Secp_Disabled_Tests.yml
vendored
|
@ -24,12 +24,12 @@ jobs:
|
|||
java-version: '17'
|
||||
cache: 'sbt'
|
||||
- name: Cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.ivy2/cache
|
||||
~/.sbt
|
||||
~/.bitcoin-s/binaries
|
||||
key: ${{ runner.os }}-cache
|
||||
key: ${{ runner.os }}-secp-disabled-cache
|
||||
- name: run tests
|
||||
run: sbt cryptoTestJVM/test coreTestJVM/test
|
||||
|
|
2
.github/workflows/TorTests.yml
vendored
2
.github/workflows/TorTests.yml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
|||
java-version: '17'
|
||||
cache: 'sbt'
|
||||
- name: Cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.ivy2/cache
|
||||
|
|
2
.github/workflows/Windows.yml
vendored
2
.github/workflows/Windows.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
|||
java-version: '17'
|
||||
cache: 'sbt'
|
||||
- name: Cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.ivy2/cache
|
||||
|
|
Loading…
Add table
Reference in a new issue