-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
86afeb9
commit ab12eab
Showing
5 changed files
with
143 additions
and
0 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,61 @@ | ||
run: | ||
tests: true | ||
timeout: 10m | ||
sort-results: true | ||
allow-parallel-runners: true | ||
concurrency: 4 | ||
skip-dirs: | ||
- tests/e2e | ||
|
||
linters: | ||
disable-all: true | ||
enable: | ||
- dogsled | ||
- exportloopref | ||
- goconst | ||
- gocritic | ||
- gofumpt | ||
- gosec | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- misspell | ||
- nakedret | ||
- nolintlint | ||
- staticcheck | ||
- revive | ||
- stylecheck | ||
- typecheck | ||
- unconvert | ||
- unused | ||
# - errcheck | ||
|
||
issues: | ||
exclude-rules: | ||
- text: "Use of weak random number generator" | ||
linters: | ||
- gosec | ||
# - text: "ST1003:" | ||
# linters: | ||
# - stylecheck | ||
# - text: "ST1016:" | ||
# linters: | ||
# - stylecheck | ||
# - text: "leading space" | ||
# linters: | ||
# - nolintlint | ||
|
||
max-issues-per-linter: 10000 | ||
max-same-issues: 10000 | ||
|
||
linters-settings: | ||
dogsled: | ||
max-blank-identifiers: 3 | ||
maligned: | ||
# print struct with more effective memory layout or not, false by default | ||
suggest-new: true | ||
nolintlint: | ||
allow-unused: false | ||
allow-leading-space: true | ||
require-explanation: false | ||
require-specific: false |
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,26 @@ | ||
--- | ||
project_name: slinky | ||
|
||
release: | ||
github: | ||
owner: skip-mev | ||
name: slinky | ||
|
||
builds: | ||
- skip: true | ||
|
||
archives: | ||
- format: tar.gz | ||
wrap_in_directory: true | ||
format_overrides: | ||
- goos: windows | ||
format: zip | ||
name_template: "{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" | ||
files: | ||
- README.md | ||
|
||
snapshot: | ||
name_template: SNAPSHOT-{{ .Commit }} | ||
|
||
changelog: | ||
skip: false |
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,12 @@ | ||
{ | ||
"default": true, | ||
"MD004": { "style": "asterisk" }, | ||
"MD007": { "indent": 4 }, | ||
"MD024": { "siblings_only": true }, | ||
"MD025": false, | ||
"MD033": false, | ||
"MD034": false, | ||
"MD014": false, | ||
"no-hard-tabs": false, | ||
"whitespace": false | ||
} |
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,18 @@ | ||
{ | ||
"default": true, | ||
"MD004": { | ||
"style": "asterisk" | ||
}, | ||
"MD007": { | ||
"indent": 4 | ||
}, | ||
"MD013": false, | ||
"MD024": { | ||
"siblings_only": true | ||
}, | ||
"MD025": false, | ||
"MD033": false, | ||
"MD034": false, | ||
"no-hard-tabs": false, | ||
"whitespace": false | ||
} |
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,26 @@ | ||
queue_rules: | ||
- name: default | ||
conditions: | ||
- "#approved-reviews-by>1" | ||
|
||
pull_request_rules: | ||
- name: automerge to main with label automerge and branch protection passing | ||
conditions: | ||
- "#approved-reviews-by>1" | ||
- base=main | ||
- label=A:automerge | ||
actions: | ||
queue: | ||
name: default | ||
method: squash | ||
commit_message_template: | | ||
{{ title }} (#{{ number }}) | ||
{{ body }} | ||
- name: backport patches to v1.x.x branch | ||
conditions: | ||
- base=main | ||
- label=backport/v1.x.x | ||
actions: | ||
backport: | ||
branches: | ||
- release/v1.x.x |