-
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.
Signed-off-by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
- Loading branch information
0 parents
commit 941f069
Showing
25 changed files
with
1,036 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,17 @@ | ||
--- | ||
version: "2" | ||
checks: | ||
similar-code: | ||
enabled: false | ||
identical-code: | ||
enabled: false | ||
exclude_patterns: | ||
- "**/.*" | ||
- "**/*_test.go" | ||
- "**/*.md" | ||
- "LICENSE" | ||
- "go.mod" | ||
- "go.sum" | ||
engines: | ||
golangci: | ||
enabled: 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,26 @@ | ||
* text=auto | ||
*.adoc text | ||
*.bat text eol=crlf | ||
*.bazel text | ||
*.bin filter=lfs diff=lfs merge=lfs -text | ||
*.bzl text | ||
*.css text eol=lf | ||
*.env text | ||
*.go text | ||
*.html text eol=lf | ||
*.jar filter=lfs diff=lfs merge=lfs -text | ||
*.java text | ||
*.js text eol=lf | ||
*.json text | ||
*.md text | ||
*.patch text | ||
*.png filter=lfs diff=lfs merge=lfs -text | ||
*.proto text linguist-detectable | ||
*.scala text | ||
*.ts text eol=lf | ||
*.yaml text | ||
*.zip filter=lfs diff=lfs merge=lfs -text | ||
go.mod text | ||
go.sum text | ||
BUILD text -linguist-detectable | ||
WORKSPACE text -linguist-detectable |
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,7 @@ | ||
--- | ||
coverage: | ||
status: | ||
project: false | ||
patch: false | ||
ignore: | ||
- atomic/nocopy.go |
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,8 @@ | ||
{ | ||
"automerge": true, | ||
"automergeType": "branch", | ||
"extends": [ | ||
"config:base", | ||
":disableDependencyDashboard" | ||
] | ||
} |
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,40 @@ | ||
--- | ||
name: Test | ||
"on": | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
go: ['1.22', '1.21'] | ||
name: Test on Go ${{ matrix.go }} | ||
runs-on: ubuntu-latest | ||
permissions: | ||
checks: write | ||
contents: read | ||
pull-requests: read | ||
statuses: write | ||
steps: | ||
- name: ✔ Check out | ||
uses: actions/checkout@v4 | ||
- name: 🐹 Set up Go ${{ matrix.go }} | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
check-latest: true | ||
- name: 🧸 golangci-lint | ||
uses: golangci/golangci-lint-action@v4 | ||
with: | ||
version: v1.57.2 | ||
- name: 🔨 Test | ||
run: go test -race -coverprofile=cover.out ./... | ||
- name: 🧑🏻💻 codecov | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
files: ./cover.out | ||
token: ${{ secrets.CODECOV_TOKEN }} |
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,17 @@ | ||
.* | ||
!/.buildkite/ | ||
!/.codeclimate.yml | ||
!/.envrc | ||
!/.gitattributes | ||
!/.github/ | ||
!/.gitignore | ||
!/.golangci.yaml | ||
!/.markdownlint.yaml | ||
!/.mockery.yaml | ||
!/.prettierrc.yaml | ||
!/.yamlfmt | ||
!/.yamllint | ||
/bin/ | ||
/cover.out | ||
/test.xml | ||
/trace.out |
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,46 @@ | ||
--- | ||
run: | ||
modules-download-mode: readonly | ||
linters: | ||
enable-all: true | ||
disable: | ||
# deprecated | ||
- deadcode | ||
- exhaustivestruct | ||
- golint | ||
- ifshort | ||
- interfacer | ||
- maligned | ||
- nosnakecase | ||
- scopelint | ||
- structcheck | ||
- varcheck | ||
# disabled | ||
- depguard | ||
- dupl | ||
- exhaustruct | ||
- forbidigo | ||
- nonamedreturns | ||
- varnamelen | ||
- wrapcheck | ||
- wsl | ||
# Go 1.22 | ||
- copyloopvar | ||
- intrange | ||
linters-settings: | ||
testifylint: | ||
enable-all: true | ||
disable: | ||
- require-error | ||
ireturn: | ||
allow: | ||
- error | ||
- generic | ||
predeclared: | ||
ignore: "new" | ||
issues: | ||
exclude-rules: | ||
- path: _test\.go$ | ||
linters: | ||
- revive | ||
text: "dot-imports" |
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,7 @@ | ||
--- | ||
no-hard-tabs: | ||
ignore_code_languages: | ||
- go | ||
spaces_per_tab: 4 | ||
line-length: | ||
line_length: 120 |
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 @@ | ||
--- | ||
printWidth: 120 | ||
proseWrap: always | ||
tabWidth: 4 | ||
useTabs: false | ||
overrides: | ||
- files: "*.md" | ||
options: | ||
tabWidth: 2 |
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,8 @@ | ||
--- | ||
formatter: | ||
type: basic | ||
include_document_start: true | ||
retain_line_breaks: true | ||
scan_folded_as_literal: true | ||
max_line_length: 100 | ||
pad_line_comments: 2 |
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,7 @@ | ||
--- | ||
extends: default | ||
rules: | ||
empty-lines: | ||
max: 1 | ||
line-length: | ||
max: 120 |
Oops, something went wrong.