Skip to content

Commit

Permalink
rustfmt.toml: ignore code formatting checks of the autogenerated models
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelnikonorov committed Jun 24, 2024
1 parent a1cd3bf commit b6cd728
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,16 @@ jobs:
git clone https://github.com/ohsu-comp-bio/funnel.git
cd funnel && make && make install && cd ..
- uses: actions/checkout@v2 # checkout the repository
- name: Lint
run: |
. $HOME/.cargo/env
cargo clippy -- -D warnings
- name: Format
run: |
. $HOME/.cargo/env
# rustup install nightly
# rustup default nightly
cargo fmt -- --check # --config-path ./rustfmt.toml
- name: Build models
run: |
. $HOME/.cargo/env
Expand All @@ -102,11 +112,4 @@ jobs:
run: |
. $HOME/.cargo/env
bash ./run-tests.sh
- name: Lint
run: |
. $HOME/.cargo/env
cargo clippy -- -D warnings
- name: Format
run: |
. $HOME/.cargo/env
cargo fmt
4 changes: 4 additions & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ignore = [
"lib/serviceinfo/models",
"lib/tes/models",
]

0 comments on commit b6cd728

Please sign in to comment.