Skip to content
Merged

Mweb #15

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ env:
GO111MODULE: on

GO_VERSION: 1.19.x
BITCOIND_VERSION: '22.0'
BITCOIND_IMAGE: 'lightninglabs/bitcoin-core'
BITCOIND_VERSION: "0.21.4"
BITCOIND_IMAGE: "litecoinproject/litecoin-core"

jobs:
########################
Expand All @@ -36,7 +36,7 @@ jobs:
- name: setup go ${{ env.GO_VERSION }}
uses: actions/setup-go@v2
with:
go-version: '${{ env.GO_VERSION }}'
go-version: "${{ env.GO_VERSION }}"

- name: run format
run: make fmt
Expand All @@ -61,31 +61,31 @@ jobs:
- unit-race
- unit-cover
steps:
- name: extract bitcoind from docker image
- name: extract litecoind from docker image
run: |-
docker pull ${{ env.BITCOIND_IMAGE }}:${{ env.BITCOIND_VERSION }}
CONTAINER_ID=$(docker create ${{ env.BITCOIND_IMAGE }}:${{ env.BITCOIND_VERSION }})
sudo docker cp $CONTAINER_ID:/opt/bitcoin-${{ env.BITCOIND_VERSION }}/bin/bitcoind /usr/local/bin/bitcoind
sudo docker cp $CONTAINER_ID:/opt/litecoin-${{ env.BITCOIND_VERSION }}/bin/litecoind /usr/local/bin/litecoind
docker rm $CONTAINER_ID

- name: git checkout
uses: actions/checkout@v2

- name: go cache
uses: actions/cache@v1
with:
path: /home/runner/work/go
key: btcwallet-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
btcwallet-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }}
btcwallet-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-
btcwallet-${{ runner.os }}-go-${{ env.GO_VERSION }}-
btcwallet-${{ runner.os }}-go-
# - name: go cache
# uses: actions/cache@v1
# with:
# path: /home/runner/work/go
# key: btcwallet-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }}
# restore-keys: |
# btcwallet-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }}
# btcwallet-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-
# btcwallet-${{ runner.os }}-go-${{ env.GO_VERSION }}-
# btcwallet-${{ runner.os }}-go-

- name: setup go ${{ env.GO_VERSION }}
uses: actions/setup-go@v2
with:
go-version: '${{ env.GO_VERSION }}'
go-version: "${{ env.GO_VERSION }}"

- name: run ${{ matrix.unit_type }}
run: make ${{ matrix.unit_type }}
Expand Down
27 changes: 24 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@ require (
github.com/jessevdk/go-flags v1.5.0
github.com/jrick/logrotate v1.0.0
github.com/lightninglabs/gozmq v0.0.0-20191113021534-d20a764486bf
github.com/ltcsuite/lnd/ticker v1.0.1
github.com/ltcsuite/lnd/tlv v0.0.0-20240222214433-454d35886119
github.com/ltcsuite/ltcd v0.23.6
github.com/ltcsuite/ltcd/btcec/v2 v2.3.2
github.com/ltcsuite/ltcd/chaincfg/chainhash v1.0.2
github.com/ltcsuite/ltcd/ltcutil v1.1.4
github.com/ltcsuite/ltcd/ltcutil/psbt v1.1.8
github.com/ltcsuite/ltcwallet/wallet/txauthor v1.3.2
github.com/ltcsuite/ltcwallet/wallet/txrules v1.2.0
github.com/ltcsuite/ltcwallet/wallet/txsizes v1.2.3
github.com/ltcsuite/ltcwallet/walletdb v1.3.5
github.com/ltcsuite/ltcwallet/wtxmgr v1.5.0
github.com/ltcsuite/neutrino v0.16.0
github.com/ltcsuite/neutrino/cache v1.1.1
github.com/stretchr/testify v1.8.3
golang.org/x/crypto v0.7.0
golang.org/x/net v0.10.0
Expand All @@ -18,16 +32,23 @@ require (
)

require (
github.com/aead/siphash v1.0.1 // indirect
github.com/alitto/pond/v2 v2.2.0 // indirect
github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd // indirect
github.com/decred/dcrd/crypto/blake256 v1.0.0 // indirect
github.com/decred/dcrd/lru v1.1.1 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/kkdai/bstream v1.0.0 // indirect
github.com/klauspost/cpuid/v2 v2.0.9 // indirect
github.com/kr/pretty v0.3.0 // indirect
github.com/ltcsuite/lnd/clock v0.0.0-20200822020009-1a001cbb895a // indirect
github.com/ltcsuite/lnd/queue v1.1.0 // indirect
github.com/ltcsuite/secp256k1 v0.1.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rogpeppe/go-internal v1.12.0 // indirect
github.com/stretchr/objx v0.5.0 // indirect
go.etcd.io/bbolt v1.3.5-0.20200615073812-232d8fc87f50 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/text v0.9.0 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

Expand Down
Loading
Loading