diff --git a/.github/workflows/bash.yml b/.github/workflows/bash.yml index 4d31d9f..fe66e41 100644 --- a/.github/workflows/bash.yml +++ b/.github/workflows/bash.yml @@ -12,9 +12,9 @@ jobs: lint: runs-on: ubuntu-latest steps: - #- uses: actions/checkout@v2 + - uses: actions/checkout@v2 - 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.. run: if ! apt list --installed 2>/dev/null | grep -q ".*shellcheck.*"; then apt install -y shellcheck; fi - name: Linting..