Skip to content

Commit 6f49303

Browse files
committed
Allow the rustfmt step to fail
The weekly openapi job can remove files when their surface shrinks leading to a broken pipeline. This allows that failing step to pass, which in turn pushes up a broken and unformatted PR in that case. Since we have to fix API breakages anyways, that is reasonable.
1 parent e89c618 commit 6f49303

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ args = ["-a", "--delete-during", "out/", "../src/resources/generated"]
5959
command = "cargo"
6060
toolchain = "nightly"
6161
install_crate = "rustfmt"
62+
# we set this to true because missing files currently cause rustfmt to fail
63+
# which impacts our weekly CI job
64+
ignore_errors = true
6265
args = ["fmt"]
6366

6467
[tasks.check]

0 commit comments

Comments
 (0)