[API break] neighbour_table: Reorganize the code base #215
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: Rustfmt and clippy check | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
push: | |
branches: | |
- main | |
jobs: | |
rustfmt_clippy: | |
strategy: | |
fail-fast: true | |
name: Rustfmt and clippy check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust Nightly | |
run: | | |
rustup override set nightly | |
rustup update nightly | |
rustup component add rustfmt clippy | |
- name: rustfmt | |
run: cargo fmt --all -- --check | |
- name: clippy | |
run: cargo clippy -- -D warnings |