Skip to content

Commit

Permalink
Merge pull request #248 from sr-gi/bump-rcgen
Browse files Browse the repository at this point in the history
Bumps dependencies to get rid old version of ring (<0.17)
  • Loading branch information
sr-gi authored Jul 29, 2024
2 parents 9d0d3af + 2bf3595 commit 609da2d
Show file tree
Hide file tree
Showing 9 changed files with 765 additions and 415 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build on Rust ${{ matrix.toolchain }}
run: |
cargo build ${{ matrix.arguments }} --verbose --color always
Expand All @@ -42,6 +46,10 @@ jobs:
with:
toolchain: stable
components: rustfmt, clippy
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run rustfmt
run: |
cargo fmt --verbose --check -- --color always
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/cln-plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI tests for CLN watchtower-plugin

on:
on:
push:
branches:
- master
Expand All @@ -19,6 +19,9 @@ jobs:
with:
python-version: '3.9'
check-latest: true
- uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Create CLN cache
id: cache-cln
uses: actions/cache@v4
Expand All @@ -28,11 +31,11 @@ jobs:
path: lightning
key: ${{ runner.os }}-build-${{ env.cache-name }}-v${{ env.cln_version }}
- name: Compile CLN
env:
env:
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring
if: ${{ steps.cache-cln.outputs.cache-hit != 'true' }}
run: |
sudo apt-get update && sudo apt-get install -y gettext protobuf-compiler
sudo apt-get update && sudo apt-get install -y gettext
git clone https://github.com/ElementsProject/lightning.git && cd lightning && git checkout v${{ env.cln_version }}
pip install --user poetry && poetry install
./configure && poetry run make
Expand All @@ -46,6 +49,9 @@ jobs:
with:
python-version: '3.9'
check-latest: true
- uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install bitcoind
run: |
wget https://bitcoincore.org/bin/bitcoin-core-${{ env.bitcoind_version }}/bitcoin-${{ env.bitcoind_version }}-x86_64-linux-gnu.tar.gz
Expand All @@ -64,7 +70,7 @@ jobs:
cd lightning && sudo make install
- name: Install teos and the plugin
run: |
cargo install --locked --path teos
cargo install --locked --path teos
cargo install --locked --path watchtower-plugin
- name: Add test dependencies
run: |
Expand Down
Loading

0 comments on commit 609da2d

Please sign in to comment.