deps: update all examples to use bdk_wallet 1.0.0 #2
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: Rust examples checks | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build_examples: | |
name: Build Rust examples | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: examples/rust/ | |
steps: | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- name: Rust Cache | |
uses: Swatinem/[email protected] | |
- name: "Build all examples" | |
run: cargo build | |
fmt_check: | |
name: Rust fmt check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
profile: minimal | |
components: rustfmt | |
- name: Check fmt | |
run: cargo fmt --all -- --config format_code_in_doc_comments=true --check | |
clippy_check: | |
name: Rust clippy check | |
runs-on: ubuntu-latest | |
permissions: | |
checks: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
components: clippy | |
override: true | |
- name: Rust Cache | |
uses: Swatinem/[email protected] | |
- uses: actions-rs/clippy-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
name: Clippy Results | |
args: --all-features --all-targets -- -D warnings |