-
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.
- Loading branch information
Showing
11 changed files
with
92 additions
and
16 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
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,11 @@ | ||
--- | ||
on: push | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: rethab/actions-lint@v1 | ||
with: | ||
files: .github/workflows/deploy.yml |
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,13 +1,28 @@ | ||
--- | ||
name: CI | ||
on: # yamllint disable-line rule:truthy | ||
on: | ||
push: | ||
jobs: | ||
ci-lint: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
# if one fails continues running the others | ||
fail-fast: true | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: yaml-lint | ||
uses: ibiqlik/action-yamllint@v3 | ||
|
||
- name: Vale Linter | ||
uses: errata-ai/[email protected] | ||
|
||
- name: typos-action | ||
uses: crate-ci/[email protected] | ||
|
||
- name: EditorConfig-Action | ||
uses: zbeekman/[email protected] | ||
|
||
- name: markdownlint-cli2-action | ||
uses: DavidAnson/[email protected] |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
megalinter-reports/ |
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 @@ | ||
StylesPath = .vale/styles/ | ||
|
||
MinAlertLevel = suggestion | ||
|
||
Packages = RedHat | ||
|
||
[*.md] | ||
BasedOnStyles = Vale, RedHat |
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 @@ | ||
# Vale styles for repository | ||
|
||
Please examine the files |
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,11 @@ | ||
--- | ||
extends: default | ||
|
||
# These files are imported by vale from an external repository | ||
ignore: | | ||
.vale/styles/RedHat/ | ||
rules: | ||
truthy: | ||
# the node "on:" present in each GitHub Actions workflow file | ||
ignore: | | ||
.github/ |
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 @@ | ||
--- | ||
run: | ||
tests: true | ||
skip-dirs-use-default: true | ||
|
||
linters: | ||
# some linters are enabled by default | ||
# https://golangci-lint.run/usage/linters/ | ||
# | ||
# enable some extra linters | ||
enable: | ||
- gci | ||
- revive | ||
- thelper | ||
|
||
linters-settings: | ||
# define the import orders | ||
gci: | ||
sections: | ||
# Standard section: captures all standard packages. | ||
- standard | ||
# Default section: catchall that is not standard or custom | ||
- default | ||
# linters that related to local tool, so they should be separated | ||
- localmodule |
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 @@ | ||
# Empty settings | ||
|
||
One way to use the default settings is to use `--no-config` parameter. | ||
|
||
Another is to create an empty YAML file | ||
|
||
See [.golangci.yaml](.golangci.yaml) |
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,2 +1,3 @@ | ||
# golangci-lint-config-examples | ||
|
||
These are .golangci.yml to go based on your need |