Skip to content

Commit 9fb87d4

Browse files
committed
Run CI formatting checks for payjoin-ffi
1 parent a5d8283 commit 9fb87d4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/rust.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,19 @@ jobs:
3737
- run: rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu
3838
- name: "Run formatting check"
3939
run: cargo fmt --all -- --check
40+
41+
Format-FFI:
42+
runs-on: ubuntu-latest
43+
steps:
44+
- name: "Checkout repo"
45+
uses: actions/checkout@v4
46+
- name: "Install nightly toolchain"
47+
uses: dtolnay/rust-toolchain@nightly
48+
- name: "Use cache"
49+
uses: Swatinem/rust-cache@v2
50+
- run: rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu
51+
- name: "Run formatting check"
52+
run: cd payjoin-ffi && cargo fmt --all -- --check
4053

4154
Lint:
4255
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)