powerful-florist-1807
08/11/2023, 9:07 PMelegant-zoo-49348
08/11/2023, 9:30 PMbroad-processor-92400
08/12/2023, 4:56 AMpants dependencies ::
might identify. Do you have examples of a problem that caused you to start using it in CI?flat-zoo-31952
08/12/2023, 4:21 PMfresh-cat-90827
08/12/2023, 9:20 PM1. I'm not 100% sure what sort of problemsFWIW building the dependency graph • would find any visibility violations in 2.16 (in 2.17 we'll be able to run themight identify. Do you have examples of a problem that caused you to start using it in CI?pants dependencies ::
lint
goal for this).
• fail on any unowned imports (if the settings are set appropriately).
and there may be a few more use cases, so running it may make total sense (unless the validation they perform may be performed without constructing the dependency graph)powerful-florist-1807
08/13/2023, 12:41 AM./pants dependencies ::
to fail, so we added this check to the CI workflow.fresh-cat-90827
08/13/2023, 8:27 AMdependencies
goal catch for you? I'd love to improve my CI workflow, too 🙂powerful-florist-1807
08/14/2023, 4:52 PM./pants dependencies ::
to detect incorrect BUILD scripts. Just FYI - this issue can be caught by unit tests, so we have decided to remove ./pants dependencies ::
from the CI workflow.faint-businessperson-86903
08/15/2023, 3:10 AMpants tailor --check ::
meet your needs?fresh-cat-90827
08/15/2023, 7:51 AMpants update-build-files --check ::
would also check for any formatting / semantics update that's missing in your BUILD files (in addition to using unknown fields for targets, misspelling target names etc etc). Neither of the commands construct the dependency graph, so that should cover some of your needs.