github: annotate build warnings by crazy-max · Pull Request #365 · docker/actions-toolkit (original) (raw)
Was looking at showing first and last lines matching warning ranges but GitHub annotations does not seem to display that properly:
core.info returns the right startLine and endLine though:
ConsistentInstructionCasing: Command 'COPy' should match the case of the command majority (lowercase)
More info: https://docs.docker.com/go/dockerfile/rule/consistent-instruction-casing/ --- startLine: 21, endLine: 23
I will just set startLine for now and open a thread on GitHub community.
