From edef08acc1d395f86963ca21ee338402c8a581ba Mon Sep 17 00:00:00 2001 From: Francisco Giordano Date: Thu, 12 Jan 2023 20:07:16 -0300 Subject: [PATCH] install matcher dynamically --- .github/actionlint-matcher.json | 17 ----------------- .github/workflows/actionlint.yml | 3 ++- 2 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 .github/actionlint-matcher.json diff --git a/.github/actionlint-matcher.json b/.github/actionlint-matcher.json deleted file mode 100644 index 4613e1617bf..00000000000 --- a/.github/actionlint-matcher.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "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 - } - ] - } - ] -} diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 16065f31307..8193109cfc5 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -13,5 +13,6 @@ jobs: - name: Add problem matchers run: | # https://github.com/rhysd/actionlint/blob/3a2f2c7/docs/usage.md#problem-matchers - echo "::add-matcher::.github/actionlint-matcher.json" + curl -LO https://raw.githubusercontent.com/rhysd/actionlint/main/.github/actionlint-matcher.json + echo "::add-matcher::actionlint-matcher.json" - uses: docker://rhysd/actionlint:latest