-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from Inetum-Poland/feat/more-telemetry
feat(go): added more telemetry
- Loading branch information
Showing
39 changed files
with
1,236 additions
and
397 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
* @inetum-poland/devops-admins | ||
|
||
/golang @aamkye | ||
|
||
/dotnet @adamsosinski | ||
|
||
/python @szomelioza | ||
|
||
readme.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: "Reusable" | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
types: | ||
- labeled | ||
- unlabeled | ||
- opened | ||
- reopened | ||
- synchronize | ||
|
||
jobs: | ||
assign: | ||
name: "Assign" | ||
uses: Inetum-Poland/.github/.github/workflows/assign_tag.yml@main | ||
with: | ||
bump_default_level: patch | ||
bump_latest: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: "Reusable" | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
verify: | ||
name: "Verify" | ||
uses: Inetum-Poland/.github/.github/workflows/verify.yml@main | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: "Reusable" | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
- edited | ||
|
||
jobs: | ||
verify: | ||
name: "Verify" | ||
uses: Inetum-Poland/.github/.github/workflows/verify_semantic_pr.yml@main | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
.DS_Store | ||
__pychache__/** | ||
**.pyc | ||
**.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[tools] | ||
pre-commit = 'latest' | ||
python = '3.12' | ||
go = '1.23.3' | ||
golangci-lint = 'latest' | ||
'go:golang.org/x/tools/cmd/goimports' = 'latest' | ||
'go:github.com/golangci/golangci-lint/cmd/golangci-lint' = 'latest' | ||
'go:github.com/fzipp/gocyclo/cmd/gocyclo' = 'latest' | ||
'go:github.com/go-critic/go-critic/cmd/gocritic' = 'latest' | ||
'go:github.com/mitranim/gow' = 'latest' | ||
'go:github.com/BurntSushi/toml/cmd/tomlv' = 'latest' | ||
|
||
[settings] | ||
not_found_auto_install = true | ||
experimental = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
--- | ||
# https://github.com/antonbabenko/pre-commit-terraform | ||
# brew install pre-commit terraform-docs tflint tfsec trivy checkov terrascan infracost tfupdate minamijoyo/hcledit/hcledit jq | ||
|
||
# https://github.com/pre-commit/pre-commit-hooks | ||
# https://github.com/python-jsonschema/check-jsonschema/ | ||
|
||
# https://github.com/trufflesecurity/trufflehog | ||
|
||
fail_fast: true | ||
|
||
repos: | ||
- repo: https://github.com/compilerla/conventional-pre-commit | ||
rev: v3.6.0 | ||
hooks: | ||
- id: conventional-pre-commit | ||
name: Check Conventional Commit | ||
stages: [commit-msg] | ||
args: [--strict, --force-scope] | ||
|
||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v5.0.0 | ||
hooks: | ||
- id: check-yaml | ||
name: Check YAML | ||
stages: [pre-commit] | ||
|
||
- id: mixed-line-ending | ||
name: Check Mixed Line Endings | ||
stages: [pre-commit] | ||
args: [--fix=lf] | ||
|
||
- id: end-of-file-fixer | ||
name: Check End of Files | ||
stages: [pre-commit] | ||
|
||
- id: trailing-whitespace | ||
name: Check Trailing Whitespace | ||
stages: [pre-commit] | ||
args: [--markdown-linebreak-ext=md] | ||
|
||
- id: check-merge-conflict | ||
name: Check for Merge Conflicts | ||
stages: [pre-commit] | ||
|
||
- id: detect-private-key | ||
name: Check Private Keys | ||
stages: [pre-commit] | ||
|
||
- repo: https://github.com/python-jsonschema/check-jsonschema | ||
rev: 0.29.4 | ||
hooks: | ||
- id: check-github-workflows | ||
name: Check GitHub Workflows | ||
stages: [pre-commit] | ||
args: ["--verbose"] | ||
|
||
- repo: https://github.com/dnephin/pre-commit-golang | ||
rev: v0.5.1 | ||
hooks: | ||
- id: go-fmt | ||
name: GO Format | ||
|
||
# - id: go-vet | ||
- id: go-imports | ||
name: GO Imports | ||
|
||
- id: go-cyclo | ||
name: GO Cyclomatic Complexity | ||
args: [-over=15] | ||
|
||
- id: validate-toml | ||
name: GO Validate TOML | ||
|
||
- id: no-go-testing | ||
name: GO No Testing | ||
|
||
# - id: golangci-lint | ||
|
||
# - id: go-critic | ||
# name: GO Critic | ||
|
||
# - id: go-unit-tests | ||
|
||
# - id: go-build | ||
|
||
- id: go-mod-tidy | ||
name: GO Mod Tidy | ||
|
||
# - repo: https://github.com/jvstein/pre-commit-dotnet-format | ||
# rev: 'v0.3' | ||
# hooks: | ||
# - id: dotnet-format | ||
# name: .Net Format | ||
# args: ['dotnet/dotnet-app-blueprint.sln'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.