Skip to content

Commit

Permalink
add build badge
Browse files Browse the repository at this point in the history
  • Loading branch information
ykadowak committed Mar 19, 2023
1 parent 332f35c commit 5aab30a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: testing and linting
name: test and lint

on:
push:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# zerologlint
![build](https://github.com/ykadowak/zerologlint/actions/workflows/testing.yaml/badge.svg)

`zerologlint` is a linter for [`zerolog`](https://github.com/rs/zerolog) that can be run with `go vet`.
It detects the wrong usage of `zerolog` that a user forgets to dispatch `zerolog.Event` with `Send` or `Msg` function, in which case nothing will be logged. For more detailed explanations of the cases it detects, see [`Example`](#Example).
Expand Down

0 comments on commit 5aab30a

Please sign in to comment.