mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-26 01:48:12 +08:00
Raw-rs: Remove from workspace (#2066)
* Remove raw-rs from workspace * Add feature blocking to reqwest * Use release build to run the tests * Split Raw-rs CI into a seperate workflow * Fix cargo-deny check for Raw-rs * Only run the CI if Raw-rs changes * Enable clippy check for Raw-rs * Add newline in clippy check * Fixups * Use ubuntu-latest * Remove mold * Install sccache * Attempt 2 * Attempt 3 * Add emoji for consistency --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
36fe9bf31b
commit
9d13a8f73b
@@ -32,8 +32,15 @@ jobs:
|
||||
- name: Run Clippy
|
||||
id: clippy
|
||||
run: |
|
||||
# Run Clippy and filter output
|
||||
# Run Clippy and filter output for the root workspace
|
||||
CLIPPY_OUTPUT=$(cargo clippy --all-targets --all-features -- -W clippy::all 2>&1 | grep -vE "^(\s*Updating|\s*Download|\s*Compiling|\s*Checking|Finished)")
|
||||
|
||||
# Run Clippy and filter output for /libraries/raw-rs
|
||||
cd libraries/raw-rs
|
||||
CLIPPY_OUTPUT+=$'\n\n'
|
||||
CLIPPY_OUTPUT+=$(cargo clippy --all-targets --all-features -- -W clippy::all 2>&1 | grep -vE "^(\s*Updating|\s*Download|\s*Compiling|\s*Checking|Finished)")
|
||||
cd ../..
|
||||
|
||||
# Escape special characters for JSON
|
||||
ESCAPED_OUTPUT=$(echo "$CLIPPY_OUTPUT" | jq -sR .)
|
||||
echo "CLIPPY_OUTPUT=$ESCAPED_OUTPUT" >> $GITHUB_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user