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 072c0cb commit 9899e15
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 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 Down Expand Up @@ -28,11 +28,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 +46,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 +67,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 9899e15

Please sign in to comment.