mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2025-12-18 14:44:22 +01:00
Travis+GitHub: update to bitcoind 0.20.1, remove cache
With this commit we use the same version of bitcoind in all tests and also remove the caches for the binary as docker has its own cache.
This commit is contained in:
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@@ -17,7 +17,7 @@ env:
|
||||
GOCACHE: /home/runner/work/go/pkg/build
|
||||
GOPATH: /home/runner/work/go
|
||||
DOWNLOAD_CACHE: /home/runner/work/download_cache
|
||||
BITCOIN_VERSION: 0.19.1
|
||||
BITCOIN_VERSION: 0.20.1
|
||||
GO_VERSION: 1.15.2
|
||||
|
||||
jobs:
|
||||
@@ -236,14 +236,6 @@ jobs:
|
||||
with:
|
||||
go-version: '~${{ env.GO_VERSION }}'
|
||||
|
||||
- name: bitcoin cache
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: /home/runner/bitcoin/bitcoin-${{ env.BITCOIN_VERSION }}/bin
|
||||
key: lnd-${{ runner.os }}-bitcoin-${{ env.BITCOIN_VERSION }}
|
||||
restore-keys: |
|
||||
lnd-${{ runner.os }}-bitcoin-${{ env.BITCOIN_VERSION }}
|
||||
|
||||
- name: install bitcoind
|
||||
run: ./scripts/install_bitcoind.sh
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
language: go
|
||||
cache:
|
||||
directories:
|
||||
- ~/bitcoin/bitcoin-0.19.1/bin
|
||||
- $DOWNLOAD_CACHE
|
||||
- $GOCACHE
|
||||
- $GOPATH/pkg/mod
|
||||
@@ -23,6 +22,7 @@ env:
|
||||
global:
|
||||
- GOCACHE=$HOME/.go-build
|
||||
- DOWNLOAD_CACHE=$HOME/download_cache
|
||||
- BITCOIN_VERSION=0.20.1
|
||||
|
||||
sudo: required
|
||||
|
||||
|
||||
Reference in New Issue
Block a user