Skip to content

Commit

Permalink
Remove golangci-lint version from workflow, it's optional now
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Jun 8, 2021
1 parent a163a72 commit 1345d0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.37
# Optional: golangci-lint command line arguments.
args: --issues-exit-code=0
# Optional: working directory, useful for monorepos
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ const (
)

func fatal(v ...interface{}) {
fmt.Println(v...)
fmt.Fprintln(os.Stderr, v...)
os.Exit(1)
}

func fatalf(format string, a ...interface{}) {
fmt.Printf(format, a...)
fmt.Fprintf(os.Stderr, format, a...)
os.Exit(1)
}

Expand Down

0 comments on commit 1345d0f

Please sign in to comment.