Merge pull request 'update lint' (#4) from lint into master
All checks were successful
Go Action / goaction (push) Successful in 1m22s
All checks were successful
Go Action / goaction (push) Successful in 1m22s
Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
name: Go Action
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
goaction:
|
||||
runs-on: ubuntu-latest # Use a Gitea Actions runner label
|
||||
|
||||
@@ -4,10 +4,6 @@ linters:
|
||||
disable:
|
||||
- wsl
|
||||
- depguard
|
||||
- exhaustruct
|
||||
- rowserrcheck
|
||||
- sqlclosecheck
|
||||
- wastedassign
|
||||
settings:
|
||||
dupl:
|
||||
threshold: 100
|
||||
@@ -42,6 +38,7 @@ formatters:
|
||||
- gofmt
|
||||
- gofumpt
|
||||
- goimports
|
||||
- golines
|
||||
exclusions:
|
||||
generated: lax
|
||||
paths:
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# mime
|
||||
|
||||

|
||||
[](https://goreportcard.com/report/gitoa.ru/go-4devs/mime)
|
||||
[](http://godoc.org/gitoa.ru/go-4devs/mime)
|
||||
|
||||
Reference in New Issue
Block a user