Skip to content

Commit

Permalink
Adds protoc GH actions to watchtower-plugin job
Browse files Browse the repository at this point in the history
  • Loading branch information
sr-gi committed Jul 29, 2024
1 parent 81a659c commit 2bf3595
Showing 1 changed file with 10 additions and 4 deletions.
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

0 comments on commit 2bf3595

Please sign in to comment.