Merge utxo-teleport/teleport-transactions#25: Basic refactor to intro… #39
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, pull_request] | |
name: lint | |
jobs: | |
fmt: | |
name: rust fmt | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set default toolchain | |
run: rustup default stable | |
- name: Set profile | |
run: rustup set profile minimal | |
- name: Add rustfmt | |
run: rustup component add rustfmt | |
- name: Update toolchain | |
run: rustup update | |
- name: Check fmt | |
run: cargo fmt --all -- --check |