Skip to content

tune project

tune project #6

Workflow file for this run

run:

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

(Line: 1, Col: 1): Unexpected value 'run', (Line: 5, Col: 1): Unexpected value 'linters', (Line: 24, Col: 1): Unexpected value 'linters-settings', (Line: 75, Col: 1): Unexpected value 'issues', (Line: 1, Col: 1): Required property is missing: jobs
timeout: 5m
modules-download-mode: readonly
linters:
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- unused
- gofmt
- goimports
- misspell
- unconvert
- unparam
- nakedret
- prealloc
- exportloopref
- gocritic
- revive
linters-settings:
errcheck:
check-type-assertions: true
check-blank: true
govet:
check-shadowing: true
gofmt:
simplify: true
goimports:
local-prefixes: github.com/formeo/igaming-platform
misspell:
locale: US
nakedret:
max-func-lines: 30
prealloc:
simple: true
range-loops: true
for-loops: true
gocritic:
enabled-tags:
- diagnostic
- style
- performance
revive:
rules:
- name: blank-imports
- name: context-as-argument
- name: context-keys-type
- name: dot-imports
- name: error-return
- name: error-strings
- name: error-naming
- name: exported
- name: increment-decrement
- name: var-naming
- name: package-comments
- name: range
- name: receiver-naming
- name: time-naming
- name: unexported-return
- name: indent-error-flow
- name: errorf
issues:
exclude-rules:
- path: _test\.go
linters:
- errcheck
- gocritic
- path: mock_
linters:
- revive
max-issues-per-linter: 50
max-same-issues: 10