problem matcher とは?
problem matcher は、runner が step のログ出力に適用する登録済みのパターンであり、コンパイラや linter のメッセージからファイル、行、メッセージのフィールドを抽出します。一致した行は、実行サマリーに表示される構造化された annotation になります。これは、ツールのプレーンテキスト出力と CI ネイティブのエラー表示との橋渡しをします。
なぜ重要か
problem matcher がなければ、コンパイルの失敗は開発者が一行ずつ読まなければならない大量のテキストにすぎません。あれば、同じエラーが正確なファイルと行に紐づいたクリック可能な annotation として表示されます。これにより、基盤となるツールを変更することなく、失敗の診断が大幅に速くなります。
関連ガイド
What Is a CI Annotation?A CI annotation is a structured message attached to a workflow run or specific file and line, surfacing an er…
What Is a Workflow Command?A workflow command is a specially formatted log line a step prints to instruct the runner to set output, mask…
What Is Log Grouping?Log grouping collapses a block of build output into a named, expandable section in the CI log so long runs st…