Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add problem matcher
  • Loading branch information
Greg Brimble committed Apr 25, 2020
1 parent b8a55ec commit 515c5f6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Expand Up @@ -3,4 +3,5 @@ RUN apk update && apk upgrade && \
apk add --no-cache bash git openssh
COPY entrypoint.sh /entrypoint.sh
COPY lib/actions/checkout/index.js /checkout.js
COPY lib/actions/checkout/problem-matcher.json /problem-matcher.json
ENTRYPOINT ["/entrypoint.sh"]
2 changes: 1 addition & 1 deletion lib/actions/checkout/README.md
@@ -1,3 +1,3 @@
# Checkout Action

Taken from [dist/index.js](https://github.com/actions/checkout/blob/01aecccf739ca6ff86c0539fbc67a7a5007bbc81/dist/index.js).
Taken from [dist/index.js](https://github.com/actions/checkout/blob/01aecccf739ca6ff86c0539fbc67a7a5007bbc81/dist/index.js) and [dist/problem-matcher.json](https://github.com/actions/checkout/blob/01aecccf739ca6ff86c0539fbc67a7a5007bbc81/dist/problem-matcher.json).
13 changes: 13 additions & 0 deletions lib/actions/checkout/problem-matcher.json
@@ -0,0 +1,13 @@
{
"problemMatcher": [
{
"owner": "checkout-git",
"pattern": [
{
"regexp": "^(fatal|error): (.*)$",
"message": 2
}
]
}
]
}

0 comments on commit 515c5f6

Please sign in to comment.