Skip to content

Commit

Permalink
ACTIONS: Add test for formatting with gofmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cian911 committed Dec 18, 2021
1 parent 865d5bb commit e5f1410
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- name: Lint
run: |
make lint-all
- name: Format
run: |
make test-format-all
- name: Test
run: |
make test-all
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,6 @@ vet-cmd:
@go vet ./cmd/watch.go

vet-all: vet-watcher vet-event vet-utils vet-cmd

test-format-all:
@gofmt -l -d .

0 comments on commit e5f1410

Please sign in to comment.