Skip to content

Commit d8e4846

Browse files
committed
Remove python dependency installation.
1 parent 4527ddc commit d8e4846

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/actions/install-dependencies/action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ runs:
2020
rustup toolchain install nightly
2121
rustup target add aarch64-apple-darwin aarch64-apple-ios x86_64-apple-ios
2222
rustup component add rust-src --toolchain nightly-x86_64-apple-darwin
23-
- name: Set up Python
24-
uses: actions/setup-python@v2
2523
- name: Load Cache
2624
uses: actions/cache@v3
2725
with:

.github/workflows/swift.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,10 @@ jobs:
5454
cp ldk-c-bindings/lightning-c-bindings/include/*.h ./LDKSwift/Sources/LDKHeaders/include/
5555
cp ldk-c-bindings/ldk-net/ldk_net.h ./LDKSwift/Sources/LDKHeaders/include/
5656
cp ldk-c-bindings/ldk-net/ldk_net.c ./LDKSwift/Sources/LDKHeaders/
57-
- name: Set up Python
58-
uses: actions/setup-python@v2
5957
- name: Generate (copy for debugging) Swift bindings and copy batteries
6058
run: |
6159
pwd
62-
python ./ # Generate bindings into ci subdirectory
60+
python3 ./ # Generate bindings into ci subdirectory
6361
6462
# TODO: switch back to generation method after debugging
6563
# mkdir -p ci/LDKSwift/Sources/LDKSwift
@@ -69,7 +67,7 @@ jobs:
6967
LDK_SWIFT_GENERATOR_OUTPUT_DIRECTORY_PATH: ci/LDKSwift/Sources/LDKSwift/bindings
7068
- name: Check that the latest auto-generated Swift files are in the repo
7169
run: |
72-
python ./ # Generate bindings into local directory
70+
python3 ./ # Generate bindings into local directory
7371
git diff --exit-code ci/LDKSwift/Sources/LDKSwift ':(exclude)ci/LDKSwift/Sources/LDKSwift/bindings/Bindings.swift'
7472
env:
7573
LDK_SWIFT_GENERATOR_INPUT_HEADER_PATH: ci/ldk-c-bindings/lightning-c-bindings/include/lightning.h

0 commit comments

Comments
 (0)