Skip to content

Commit

Permalink
kdlinter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
janpreet committed Jul 29, 2024
1 parent 056c046 commit 8a0e8fb
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/kdlinter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,9 @@ jobs:

- name: Build KD Linter
run: |
go build -o kdlinter kdlinter.go
go mod init kdlinter
go build -o kdlinter .
- name: Run KD Linter
run: |
./kdlinter .
continue-on-error: true

- name: Check Linter Output
run: |
if [ -s lint_output.txt ]; then
echo "Linter found issues:"
cat lint_output.txt
exit 1
else
echo "No linting issues found."
fi
./kdlinter .

0 comments on commit 8a0e8fb

Please sign in to comment.