From 98e0ba00b11fd0a76279d0df42e9c864e8c175ba Mon Sep 17 00:00:00 2001 From: thunderbiscuit Date: Thu, 21 Aug 2025 09:22:57 -0400 Subject: [PATCH 1/2] build: add submodule update-to-master just command --- justfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/justfile b/justfile index e2f1344..b13817f 100644 --- a/justfile +++ b/justfile @@ -36,6 +36,14 @@ submodule-init: submodule-reset: git submodule update --force +[group("Submodule")] +[doc("Checkout the bdk-ffi submodule to the latest commit on master.")] +submodule-to-master: + cd ./bdk-ffi/ \ + && git fetch origin \ + && git checkout master \ + && git pull origin master + [group("Test")] [doc("Run all tests.")] test: From c37999d59cb6bd145796fba87268b3996bdc4803 Mon Sep 17 00:00:00 2001 From: thunderbiscuit Date: Fri, 29 Aug 2025 14:17:32 -0400 Subject: [PATCH 2/2] ci: run tests only once when opening prs --- .github/workflows/test-python.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test-python.yaml b/.github/workflows/test-python.yaml index 2477a7e..04aa17b 100644 --- a/.github/workflows/test-python.yaml +++ b/.github/workflows/test-python.yaml @@ -1,8 +1,7 @@ name: Test Python on: - workflow_dispatch: - push: pull_request: + workflow_dispatch: permissions: {}