bazel-contrib / rules-template

A template for creating a new Bazel ruleset
Apache License 2.0
75 stars 20 forks source link

Buildifier check issue on Windows #82

Open aherrmann opened 1 year ago

aherrmann commented 1 year ago

There seems to be an issue with the buildifier check on Windows CI.

The error is the following

ERROR: D:/a/rules-template/rules-template/.github/workflows/BUILD.bazel:3:11: While resolving toolchains for target //.github/workflows:buildifier.check: No matching toolchains found for types @buildifier_prebuilt~6.1.0//buildifier:toolchain.

The first occurrence seems to have been here

GZGavinZhao commented 1 year ago

buildifier_prebuilt 6.1.2 now supports Windows, bumping the version should fix it. See #87.