Skip to content

Commit

Permalink
Bumps tonic to 0.11 and prost to 0.12, adapts Cargo files accordingly
Browse files Browse the repository at this point in the history
Bumping tonic required cargo file edition to be bumped to 2021
  • Loading branch information
sr-gi committed Mar 28, 2024
1 parent 644aaed commit ae15222
Show file tree
Hide file tree
Showing 7 changed files with 498 additions and 299 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
toolchain: ${{ matrix.toolchain }}
override: true
profile: minimal
- 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 @@ -41,6 +45,10 @@ jobs:
toolchain: stable
profile: minimal
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
2 changes: 1 addition & 1 deletion .github/workflows/cln-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring
if: ${{ steps.cache-cln.outputs.cache-hit != 'true' }}
run: |
sudo apt-get update && sudo apt-get install gettext
sudo apt-get update && sudo apt-get install -y gettext protobuf-compiler
git clone https://github.com/ElementsProject/lightning.git && cd lightning && git checkout v${{ env.cln_version }}
pip install --user poetry && poetry install
./configure --enable-developer && poetry run make
Expand Down
Loading

0 comments on commit ae15222

Please sign in to comment.