Skip to content

Commit

Permalink
Re enable problem-matcher (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Jul 28, 2020
1 parent 73cbb64 commit c489c81
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ShellCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ jobs:
name: ShellCheck
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v2

- name: Run ShellCheck
uses: ./
with:
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ FROM alpine:3.12.0
RUN apk add --no-cache shellcheck bash

COPY runaction /action/runaction
COPY .github/problem-matcher.json /problem-matcher.json

ENTRYPOINT ["bash", "/action/runaction"]
4 changes: 4 additions & 0 deletions runaction
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
#!/bin/bash

## Enable problem matcher
cp /problem-matcher.json ./problem-matcher.json

echo "::add-matcher::problem-matcher.json"

## Run action
cd "$GITHUB_WORKSPACE" || exit 1

declare statuscode
Expand Down

0 comments on commit c489c81

Please sign in to comment.