Update .gitea/workflows/lint.yaml
This commit is contained in:
@@ -6,7 +6,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: Install Linter
|
||||||
|
run: |
|
||||||
|
wget -qO- "https://github.com/koalaman/shellcheck/releases/download/${scversion?}/shellcheck-${scversion?}.linux.x86_64.tar.xz" | tar -xJv
|
||||||
|
cp "shellcheck-${scversion}/shellcheck" /usr/local/bin
|
||||||
|
rm -rf "shellcheck-${scversion}"
|
||||||
|
shellcheck --version
|
||||||
- name: Run Linter
|
- name: Run Linter
|
||||||
uses: a5k-actions/shellchecker@v0
|
run: |
|
||||||
with:
|
shellcheck penv
|
||||||
ignore-files: "README.md|LICENSE|.NOAI"
|
shellcheck jconf
|
||||||
Reference in New Issue
Block a user