Add bindings to backup & restore wallet #32
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Format code | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
components: rustfmt | |
- name: Format | |
run: cargo fmt --all -- --check | |
- name: Format c-ffi bindings | |
working-directory: ./bindings/c-ffi | |
run: | | |
make format | |
git diff --exit-code | |
- name: Format uniffi bindings | |
working-directory: ./bindings/uniffi | |
run: cargo fmt -- --check |