From 9b1290b67ff31a4d88a271bf5fc1b6eaa47ac9cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Wed, 2 Oct 2024 09:12:30 +0200 Subject: [PATCH 1/2] Add actionlint matcher --- .github/workflows/workflow.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 5dc9091..dfbfa22 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -70,6 +70,10 @@ jobs: - name: "Checkout repository" uses: "actions/checkout@v4.1.5" + - + name: "Set up problem matcher" + run: | + echo "::add-matcher::.github/actionlint-matcher.json" - name: "Analyze workflow files" uses: "docker://rhysd/actionlint:1.7.3" From db4e8bd070850dc82138adb886bdd7029e5ed6d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Wed, 2 Oct 2024 09:13:14 +0200 Subject: [PATCH 2/2] Create actionlint-matcher.json --- .github/actionlint-matcher.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/actionlint-matcher.json diff --git a/.github/actionlint-matcher.json b/.github/actionlint-matcher.json new file mode 100644 index 0000000..6887833 --- /dev/null +++ b/.github/actionlint-matcher.json @@ -0,0 +1,17 @@ +{ + "problemMatcher": [ + { + "owner": "actionlint", + "pattern": [ + { + "regexp": "^(?:\\x1b\\[\\d+m)?(.+?)(?:\\x1b\\[\\d+m)*:(?:\\x1b\\[\\d+m)*(\\d+)(?:\\x1b\\[\\d+m)*:(?:\\x1b\\[\\d+m)*(\\d+)(?:\\x1b\\[\\d+m)*: (?:\\x1b\\[\\d+m)*(.+?)(?:\\x1b\\[\\d+m)* \\[(.+?)\\]$", + "file": 1, + "line": 2, + "column": 3, + "message": 4, + "code": 5 + } + ] + } + ] +}