forked from dakma-dev/gloomberg
-
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.
update public repo to current state of gloomberg
- Loading branch information
Showing
170 changed files
with
18,292 additions
and
372,301 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,14 @@ | ||
version: 2 | ||
updates: | ||
|
||
# maintain dependencies for GitHub actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
|
||
# maintain dependencies for Go modules | ||
- package-ecosystem: "gomod" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
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
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,25 @@ | ||
name: docs | ||
|
||
on: | ||
push: { branches: [master, main] } | ||
workflow_dispatch: | ||
|
||
permissions: { contents: write } | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
if: github.event.repository.fork == false | ||
|
||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-python@v4 | ||
with: { python-version: 3.x } | ||
|
||
- run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git | ||
|
||
- run: mkdocs gh-deploy --force |
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,24 @@ | ||
name: golangci-lint | ||
|
||
on: | ||
pull_request: | ||
push: { branches: [master, main], tags: [v*] } | ||
workflow_dispatch: | ||
|
||
# Optional: allow read access to pull request. Use with `only-new-issues` option. | ||
permissions: { contents: read } # pull-requests: read | ||
|
||
jobs: | ||
golangci: | ||
name: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: { cache: true, check-latest: true, go-version-file: "go.mod" } | ||
|
||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: { version: latest } |
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
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,30 @@ | ||
run: | ||
timeout: 3m | ||
|
||
# never fail | ||
issues-exit-code: 0 | ||
|
||
linters: | ||
enable-all: true | ||
disable: | ||
- gochecknoglobals | ||
- gomnd | ||
- lll | ||
- funlen | ||
- exhaustivestruct | ||
- exhaustruct | ||
- tagliatelle | ||
- forbidigo | ||
- varnamelen | ||
- wrapcheck | ||
- nestif | ||
- gocognit | ||
- cyclop | ||
- gocyclo | ||
- ireturn | ||
- gochecknoinits | ||
- goerr113 | ||
- maligned | ||
- exhaustive | ||
- interfacer | ||
- nilnil |
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
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,19 @@ | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
exclude: ^mkdocs\.yml$ | ||
# - id: check-added-large-files | ||
# exclude: ^mkdocs\.yml$ | ||
|
||
- repo: https://github.com/golangci/golangci-lint | ||
rev: v1.50.1 | ||
hooks: | ||
- id: golangci-lint | ||
args: ["--no-config", "--fast"] |
Oops, something went wrong.