Skip to content

Commit

Permalink
feat(trace): Provided module (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekkinox authored Jan 10, 2024
1 parent 77d0cb1 commit 45e87e0
Show file tree
Hide file tree
Showing 25 changed files with 2,671 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 @@ -23,6 +23,7 @@ jobs:
- "config"
- "generate"
- "log"
- "trace"

runs-on: ubuntu-latest
steps:
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/trace-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "trace-ci"

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

jobs:
ci:
uses: ./.github/workflows/common-ci.yml
secrets: inherit
with:
module: "trace"
5 changes: 5 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
"release-type": "go",
"component": "log",
"tag-separator": "/"
},
"trace": {
"release-type": "go",
"component": "trace",
"tag-separator": "/"
}
}
}
65 changes: 65 additions & 0 deletions trace/.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
- durationcheck
- errcheck
- errchkjson
- errname
- errorlint
- exhaustive
- forbidigo
- forcetypeassert
- gocognit
- goconst
- gocritic
- 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
Loading

0 comments on commit 45e87e0

Please sign in to comment.