mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-21 15:10:44 +00:00
CI(check-codestyle-rust): use mold -run
This commit is contained in:
6
.github/workflows/build_and_test.yml
vendored
6
.github/workflows/build_and_test.yml
vendored
@@ -170,17 +170,17 @@ jobs:
|
||||
echo "CLIPPY_COMMON_ARGS=${CLIPPY_COMMON_ARGS}" >> $GITHUB_ENV
|
||||
|
||||
- name: Run cargo clippy (debug)
|
||||
run: cargo hack --feature-powerset clippy $CLIPPY_COMMON_ARGS
|
||||
run: mold -run cargo hack --feature-powerset clippy $CLIPPY_COMMON_ARGS
|
||||
|
||||
# instead of running the full release build, running debug build again,
|
||||
# but with disabled `debug-assertions` to excersice release code paths
|
||||
- name: Run cargo clippy (debug, with debug-assertions=false)
|
||||
run: cargo hack --feature-powerset clippy $CLIPPY_COMMON_ARGS -C debug-assertions=off
|
||||
run: mold -run cargo hack --feature-powerset clippy $CLIPPY_COMMON_ARGS -C debug-assertions=off
|
||||
|
||||
- name: Check documentation generation
|
||||
run: cargo doc --workspace --no-deps --document-private-items
|
||||
env:
|
||||
RUSTDOCFLAGS: "-Dwarnings -Arustdoc::private_intra_doc_links"
|
||||
RUSTDOCFLAGS: "-Dwarnings -Arustdoc::private_intra_doc_links"
|
||||
|
||||
# Use `${{ !cancelled() }}` to run quck tests after the longer clippy run
|
||||
- name: Check formatting
|
||||
|
||||
Reference in New Issue
Block a user