Skip to content

Commit 445705a

Browse files
committed
tune project
1 parent 85ea3b2 commit 445705a

File tree

4 files changed

+131
-2
lines changed

4 files changed

+131
-2
lines changed

.github/dependabot.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "gomod"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
day: "monday"
8+
open-pull-requests-limit: 5
9+
commit-message:
10+
prefix: "deps"
11+
labels:
12+
- "dependencies"
13+
- "go"
14+
15+
- package-ecosystem: "github-actions"
16+
directory: "/"
17+
schedule:
18+
interval: "weekly"
19+
day: "monday"
20+
open-pull-requests-limit: 3
21+
commit-message:
22+
prefix: "ci"
23+
labels:
24+
- "dependencies"
25+
- "ci"
26+
27+
- package-ecosystem: "docker"
28+
directory: "/deploy/docker"
29+
schedule:
30+
interval: "weekly"
31+
open-pull-requests-limit: 3
32+
commit-message:
33+
prefix: "docker"
34+
labels:
35+
- "dependencies"
36+
- "docker"

.github/workflows/ci.yml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
run:
2+
timeout: 5m
3+
modules-download-mode: readonly
4+
5+
linters:
6+
enable:
7+
- errcheck
8+
- gosimple
9+
- govet
10+
- ineffassign
11+
- staticcheck
12+
- unused
13+
- gofmt
14+
- goimports
15+
- misspell
16+
- unconvert
17+
- unparam
18+
- nakedret
19+
- prealloc
20+
- exportloopref
21+
- gocritic
22+
- revive
23+
24+
linters-settings:
25+
errcheck:
26+
check-type-assertions: true
27+
check-blank: true
28+
29+
govet:
30+
check-shadowing: true
31+
32+
gofmt:
33+
simplify: true
34+
35+
goimports:
36+
local-prefixes: github.com/formeo/igaming-platform
37+
38+
misspell:
39+
locale: US
40+
41+
nakedret:
42+
max-func-lines: 30
43+
44+
prealloc:
45+
simple: true
46+
range-loops: true
47+
for-loops: true
48+
49+
gocritic:
50+
enabled-tags:
51+
- diagnostic
52+
- style
53+
- performance
54+
55+
revive:
56+
rules:
57+
- name: blank-imports
58+
- name: context-as-argument
59+
- name: context-keys-type
60+
- name: dot-imports
61+
- name: error-return
62+
- name: error-strings
63+
- name: error-naming
64+
- name: exported
65+
- name: increment-decrement
66+
- name: var-naming
67+
- name: package-comments
68+
- name: range
69+
- name: receiver-naming
70+
- name: time-naming
71+
- name: unexported-return
72+
- name: indent-error-flow
73+
- name: errorf
74+
75+
issues:
76+
exclude-rules:
77+
- path: _test\.go
78+
linters:
79+
- errcheck
80+
- gocritic
81+
- path: mock_
82+
linters:
83+
- revive
84+
85+
max-issues-per-linter: 50
86+
max-same-issues: 10

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# iGaming Platform Makefile
1+
cd ..# iGaming Platform Makefile
22
# ======================================
33

44
.PHONY: all build test lint clean proto docker infra help

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
# iGaming Platform Core
2-
2+
[![CI](https://github.com/formeo/igaming-platform/actions/workflows/ci.yml/badge.svg)](https://github.com/formeo/igaming-platform/actions/workflows/ci.yml)
33
[![Go Report Card](https://goreportcard.com/badge/github.com/formeo/igaming-platform)](https://goreportcard.com/report/github.com/formeo/igaming-platform)
44
[![codecov](https://codecov.io/gh/formeo/igaming-platform/branch/main/graph/badge.svg)](https://codecov.io/gh/formeo/igaming-platform)
55
[![Go Version](https://img.shields.io/github/go-mod/go-version/formeo/igaming-platform)](https://go.dev/)
66
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7+
![Downloads](https://img.shields.io/github/downloads/formeo/igaming-platform/total)
8+
![Stars](https://img.shields.io/github/stars/formeo/igaming-platform)
9+
10+
> Production-ready microservices platform for iGaming: Wallet Service, Bonus Engine & ML-powered Fraud Detection.
11+
12+
---
713

14+
<!-- REST OF YOUR EXISTING README BELOW -->
815
> Production-ready microservices platform for iGaming: Wallet Service, Bonus Engine & ML-powered Fraud Detection.
916
1017
## Architecture

0 commit comments

Comments
 (0)