1
0
Fork 0
mirror of https://github.com/ludeeus/action-shellcheck.git synced 2024-08-16 10:09:53 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View file

@ -5,8 +5,10 @@ jobs:
name: ShellCheck name: ShellCheck
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@master uses: actions/checkout@v2
- name: Run ShellCheck - name: Run ShellCheck
uses: ./ uses: ./
with: with:

View file

@ -3,4 +3,6 @@ FROM alpine:3.12.0
RUN apk add --no-cache shellcheck bash RUN apk add --no-cache shellcheck bash
COPY runaction /action/runaction COPY runaction /action/runaction
COPY .github/problem-matcher.json /problem-matcher.json
ENTRYPOINT ["bash", "/action/runaction"] ENTRYPOINT ["bash", "/action/runaction"]

View file

@ -1,7 +1,11 @@
#!/bin/bash #!/bin/bash
## Enable problem matcher ## Enable problem matcher
cp /problem-matcher.json ./problem-matcher.json
echo "::add-matcher::problem-matcher.json"
## Run action
cd "$GITHUB_WORKSPACE" || exit 1 cd "$GITHUB_WORKSPACE" || exit 1
declare statuscode declare statuscode