diff options
author | Vincent Ambo <mail@tazj.in> | 2022-01-19T18·23+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-01-21T11·49+0000 |
commit | 3e9aa7722d87d1e6fee2f88267f10b0c4903ab12 (patch) | |
tree | d4aca6a93f3c272387c2a797f975b0adff778feb /tools | |
parent | 4e82a9dc866ca5852c90cfc57b926b34e3de0692 (diff) |
refactor(depotfmt): Move formatting check into an extra step r/3653
Change-Id: I7e4cf6bb2351bd11a5396f1663c0d4cc97c0d94e Reviewed-on: https://cl.tvl.fyi/c/depot/+/5009 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: grfn <grfn@gws.fyi> Reviewed-by: ezemtsov <eugene.zemtsov@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depotfmt.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/depotfmt.nix b/tools/depotfmt.nix index 312ef3f8df07..8c8e99c0891e 100644 --- a/tools/depotfmt.nix +++ b/tools/depotfmt.nix @@ -35,5 +35,9 @@ let --tree-root . ''; in depotfmt.overrideAttrs(_: { - passthru.check = check; + passthru.meta.ci.extraSteps.check = { + label = "depot formatting check"; + command = check; + alwaysRun = true; + }; }) |