This repository has been archived by the owner on Mar 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- remove code duplication - disable jaegertracing (we don't use it at the moment) - more advanced logic to deal with git safe directories - inherit build options from environment and print out the complete set of build options set in the script - fix linter warnings from shellcheck - make linter run all pre-commit linting actions - make markdownlint not complain about multiple headings with the same name unless they are under the same heading themselves Signed-off-by: Moritz Röhrich <[email protected]>
- Loading branch information
1 parent
c2e8583
commit 7f77707
Showing
12 changed files
with
131 additions
and
121 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 |
---|---|---|
@@ -1,15 +1,20 @@ | ||
--- | ||
name: Lint | ||
on: [push, pull_request, workflow_dispatch] | ||
on: | ||
- push | ||
- pull_request | ||
- workflow_dispatch | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Set up Git repository | ||
uses: actions/checkout@v3 | ||
- name: Lint | ||
uses: DavidAnson/markdownlint-cli2-action@v7 | ||
with: | ||
command: config | ||
globs: | | ||
.github/workflows/config/custom.markdownlint.jsonc | ||
'**/*.md' | ||
|
||
- name: Set up Python3 | ||
uses: actions/setup-python@v4 | ||
|
||
- name: Pre Commit | ||
uses: pre-commit/[email protected] |
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,3 @@ | ||
{ | ||
"MD024": { "siblings_only": "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 |
---|---|---|
@@ -1,34 +1,37 @@ | ||
--- | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.0.1 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: check-yaml | ||
- id: check-added-large-files | ||
- id: end-of-file-fixer | ||
- id: debug-statements | ||
- id: mixed-line-ending | ||
- id: detect-private-key | ||
- id: destroyed-symlinks | ||
- id: check-shebang-scripts-are-executable | ||
- id: check-case-conflict | ||
- id: trailing-whitespace | ||
- id: check-yaml | ||
args: | ||
- --allow-multiple-documents | ||
- id: check-added-large-files | ||
- id: end-of-file-fixer | ||
- id: debug-statements | ||
- id: mixed-line-ending | ||
- id: detect-private-key | ||
- id: destroyed-symlinks | ||
- id: check-shebang-scripts-are-executable | ||
- id: check-case-conflict | ||
|
||
- repo: https://github.com/jumanjihouse/pre-commit-hooks | ||
rev: 2.1.5 | ||
hooks: | ||
- id: forbid-binary | ||
exclude: >- | ||
(?x)^( | ||
assets/images/.* | ||
)$ | ||
- id: git-check | ||
- repo: https://github.com/jumanjihouse/pre-commit-hooks | ||
rev: 2.1.5 | ||
hooks: | ||
- id: forbid-binary | ||
exclude: >- | ||
(?x)^( | ||
assets/images/.* | ||
)$ | ||
- id: git-check | ||
|
||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.1.0 | ||
hooks: | ||
- id: codespell | ||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.1.0 | ||
hooks: | ||
- id: codespell | ||
|
||
- repo: https://github.com/DavidAnson/markdownlint-cli2 | ||
rev: v0.4.0 | ||
hooks: | ||
- id: markdownlint-cli2 | ||
- repo: https://github.com/DavidAnson/markdownlint-cli2 | ||
rev: v0.4.0 | ||
hooks: | ||
- id: markdownlint-cli2 |
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
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
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 |
---|---|---|
|
@@ -124,4 +124,3 @@ case ${cmd} in | |
exit 1 | ||
;; | ||
esac | ||
|
Empty file.
Empty file.
Empty file.
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