Skip to content

Commit

Permalink
Make formatting pipeline fail if something had to be formatted (#16)
Browse files Browse the repository at this point in the history
This pull request changes the Buildkite pipeline to fail if the
formatting step changed any files.
  • Loading branch information
HeinrichApfelmus authored Sep 4, 2023
2 parents 07e4611 + b8a316a commit 9c92ee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ steps:
- label: 'Check format'
depends_on: linux-nix
command: |
${nix} --command bash -c "echo +++ format; just format"
${nix} --command bash -c "echo +++ format; just format; git diff --exit-code"
agents:
system: ${linux}
env:
Expand Down

0 comments on commit 9c92ee7

Please sign in to comment.