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:
parent
73cbb64041
commit
c489c81f79
3 changed files with 9 additions and 1 deletions
4
.github/workflows/ShellCheck.yml
vendored
4
.github/workflows/ShellCheck.yml
vendored
|
@ -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:
|
||||||
|
|
|
@ -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"]
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue