This commit is contained in:
Kreyren 2020-02-11 18:55:15 +00:00
parent acac403d86
commit 69b3745447

@ -12,9 +12,9 @@ jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
#- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Output changed files hopefully - name: Output changed files hopefully
run: git diff-tree --no-commit-id --name-only -r ${{ github.sha }} ; exit 1 run: git --git-dir="$GITHUB_WORKSPACE/.git" ls-tree --name-only -r ${{ github.sha }} ; exit 1
- name: Installing dependencies.. - name: Installing dependencies..
run: if ! apt list --installed 2>/dev/null | grep -q ".*shellcheck.*"; then apt install -y shellcheck; fi run: if ! apt list --installed 2>/dev/null | grep -q ".*shellcheck.*"; then apt install -y shellcheck; fi
- name: Linting.. - name: Linting..