Reduce the number of REGISTER_IP_ADDRESSES
calls
#3378
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 - Check formatting | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/rustfmt.yml | |
- rustfmt.toml | |
- '**/*.rs' | |
workflow_dispatch: | |
jobs: | |
check-formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install nightly Rust | |
uses: actions-rs/[email protected] | |
with: | |
toolchain: stable | |
components: rustfmt | |
default: true | |
- name: Check formatting | |
run: |- | |
rustfmt --version | |
cargo fmt -- --check |