fix(tools/depotfmt): clear cache when running checks
apparently the cache can get out-of-sync or something; either way we had a build where it missed a file that was misformated. Change-Id: I2967aec99ee1c7c8b978a3dfdfed4ff213bb6591 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5249 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
3452569ddd
commit
18c8c41b5c
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ let
|
||||||
# wrapper script for running formatting checks in CI
|
# wrapper script for running formatting checks in CI
|
||||||
check = pkgs.writeShellScript "depotfmt-check" ''
|
check = pkgs.writeShellScript "depotfmt-check" ''
|
||||||
${pkgs.treefmt}/bin/treefmt \
|
${pkgs.treefmt}/bin/treefmt \
|
||||||
|
--clear-cache \
|
||||||
--fail-on-change \
|
--fail-on-change \
|
||||||
--config-file ${config} \
|
--config-file ${config} \
|
||||||
--tree-root .
|
--tree-root .
|
||||||
|
|
Loading…
Reference in a new issue