Skip to content

Commit

Permalink
Have gofmt return an error
Browse files Browse the repository at this point in the history
  • Loading branch information
MEhrn00 committed Feb 6, 2024
1 parent 210ea57 commit 678d95d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

- name: Check Mythic code for errors
working-directory: ${{ env.MYTHIC_CODE }}
run: gofmt -e **/**.go 1>/dev/null
run: gofmt -e . 1>/dev/null

- name: Check Agent code for errors
working-directory: ${{ env.AGENT_CODE }}
Expand All @@ -67,7 +67,7 @@ jobs:

- name: Check Mythic code formatting
working-directory: ${{ env.MYTHIC_CODE }}
run: gofmt -l -d **/**.go
run: gofmt -l -d . | diff -u /dev/null -

- name: Check Agent code formatting
working-directory: ${{ env.AGENT_CODE }}
Expand Down

0 comments on commit 678d95d

Please sign in to comment.