Skip to content

Add Gnokii-smsd provider #33

Add Gnokii-smsd provider

Add Gnokii-smsd provider #33

Triggered via pull request August 10, 2024 09:57
Status Success
Total duration 24s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
lint: provider/esendex/esendex.go#L54
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/messagebird/sachet) (gci)
lint: cmd/sachet/main.go#L93
cyclomatic complexity 31 of func `providerByName` is high (> 30) (gocyclo)
lint: provider/esendex/esendex.go#L44
File is not `gofumpt`-ed (gofumpt)
lint: provider/esendex/esendex.go#L93
File is not `gofumpt`-ed (gofumpt)
lint: provider/melipayamak/melipayamak.go#L37
File is not `gofumpt`-ed (gofumpt)
lint: provider/melipayamak/melipayamak.go#L36
unnecessary leading newline (whitespace)
lint: provider/ghasedak/ghasedak.go#L46
non-canonical header "content-type", instead use: "Content-Type" (canonicalheader)
lint: provider/ghasedak/ghasedak.go#L47
non-canonical header "apikey", instead use: "Apikey" (canonicalheader)
lint: provider/ghasedak/ghasedak.go#L48
non-canonical header "cache-control", instead use: "Cache-Control" (canonicalheader)
lint: provider/melipayamak/melipayamak.go#L50
non-canonical header "content-type", instead use: "Content-Type" (canonicalheader)
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/