Types changes have been done. Ensured not to repeat past mistake. Had some issues in changing LockTime types but within the functions they were ultimately being converted to u16 for arithmetic, hence didn't change them as they didn't affect the overall abstraction. #1132
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
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
name: lint | |
jobs: | |
fmt: | |
name: rust fmt | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set default toolchain | |
run: rustup default nightly | |
- name: Set profile | |
run: rustup set profile minimal | |
- name: Add rustfmt | |
run: rustup component add rustfmt | |
- name: Add clippy | |
run: rustup component add clippy | |
- name: Update toolchain | |
run: rustup update | |
- name: Check fmt | |
run: cargo fmt --all -- --check | |
- name: Clippy | |
run: cargo clippy --all-targets --all-features -- -D warnings | |
# - name: cargo install cargo-hack | |
# uses: taiki-e/install-action@cargo-hack | |
# - name: cargo hack | |
# run: cargo hack --feature-powerset check | |
- name: Install cargo-docs-rs | |
uses: dtolnay/install@cargo-docs-rs | |
- name: cargo docs-rs | |
run: cargo +nightly docs-rs |