Skip to content

Commit

Permalink
feat(fxsql): Provided module (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekkinox committed May 13, 2024
1 parent 85073b5 commit d497caa
Show file tree
Hide file tree
Showing 19 changed files with 1,515 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
- "fxlog"
- "fxmetrics"
- "fxorm"
- "fxsql"
- "fxtrace"
- "fxworker"
steps:
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/fxsql-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "fxsql-ci"

on:
push:
branches:
- "feat**"
- "fix**"
- "hotfix**"
- "chore**"
paths:
- "fxsql/**.go"
- "fxsql/go.mod"
- "fxsql/go.sum"
pull_request:
types:
- opened
- synchronize
- reopened
branches:
- main
paths:
- "fxsql/**.go"
- "fxsql/go.mod"
- "fxsql/go.sum"

jobs:
ci:
uses: ./.github/workflows/common-ci.yml
secrets: inherit
with:
module: "fxsql"
65 changes: 65 additions & 0 deletions fxsql/.golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
run:
timeout: 5m
concurrency: 8

linters:
enable:
- asasalint
- asciicheck
- bidichk
- bodyclose
- containedctx
- contextcheck
- cyclop
- decorder
- dogsled
- dupl
- durationcheck
- errcheck
- errchkjson
- errname
- errorlint
- exhaustive
- forbidigo
- forcetypeassert
- gocognit
- goconst
- gocyclo
- godot
- godox
- gofmt
- goheader
- gomoddirectives
- gomodguard
- goprintffuncname
- gosec
- gosimple
- govet
- grouper
- importas
- ineffassign
- interfacebloat
- logrlint
- maintidx
- makezero
- misspell
- nestif
- nilerr
- nilnil
- nlreturn
- nolintlint
- nosprintfhostport
- prealloc
- predeclared
- promlinter
- reassign
- staticcheck
- tenv
- thelper
- tparallel
- typecheck
- unconvert
- unparam
- unused
- usestdlibvars
- whitespace

0 comments on commit d497caa

Please sign in to comment.