CI: check the formatting with cargo fmt on all PRs #17
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!17
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/17/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@raffclar on GitHub · 2026-11-23 23:10 UTC · original
ci-fmt→main· +25 −0 · 1 files · 1 commits · closed without mergingEnforce common standard for code styling
@PolpOnline on GitHub · 2026-11-23 23:12 UTC · original
@raffclar Should also enforce tests on CI (at least those not depending on the binary being present)
@raffclar on GitHub · 2026-11-23 23:13 UTC · original
Yeah I agree. I'm trying to do things in small chunks for easier review
@DaviTostes on GitHub · 2026-11-24 00:06 UTC · original
Checked the gate this workflow adds, at
main97c78d1with the pinned toolchain (rustfmt 1.98.1): the tree is not formatted yet, so the check fails before any PR is looked at.cargo fmt --all -- --check: 141 hunks in 28 files, e.g.crates/victory-formats/src/texture.rs(10),xma.rs(9),xma/tables.rs(16),victory-gpu/src/host.rs(15),victory-hle/src/modules/xgamesave.rs(13),victory-loader/src/crash.rs(7).cargo fmt --allshould be part of this PR (before the gate is enabled) or the check should compare only the files a PR changes. Also worth pinning the rustfmt version to therust-toolchain.tomlone explicitly, since formatting differs between releases.No game data used. AI-assisted (DeepSeek V4.1 Flash coding agent).
@Quat3rnion on GitHub · 2026-11-24 00:37 UTC · original
The format gate here is red on current main: the tree has about 141 formatting hunks across 28 files. #112 formats the tree once and adds a Linux CI job that runs the format check, workspace tests and asset policy. Please consider closing this in favour of #112. Thanks for starting the CI work, @raffclar.
Pull request closed