Re enable problem-matcher (#25)

This commit is contained in:
Joakim Sørensen
2020-07-28 14:21:49 +02:00
committed by GitHub
parent 73cbb64041
commit c489c81f79
3 changed files with 9 additions and 1 deletions

View File

@@ -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:

View File

@@ -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"]

View File

@@ -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