Merge pull request #11 from FX31337/dev #205
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
# yamllint disable rule:line-length | |
--- | |
name: Lint | |
on: | |
pull_request: | |
paths: | |
- '**/*.md' | |
- '**/*.sh' | |
- '**/*.y?ml' | |
- 'Dockerfile' | |
push: | |
paths: | |
- '**/*.md' | |
- '**/*.sh' | |
- '**/*.y?ml' | |
- 'Dockerfile' | |
jobs: | |
Markdown: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: markdownlint-cli | |
uses: nosborn/github-action-markdown-cli@v1.1.1 | |
with: | |
files: . | |
config_file: ".markdownlint.yml" | |
ShellCheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Shell Check | |
uses: luizm/action-sh-checker@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
sh_checker_comment: true | |
sh_checker_shfmt_disable: true | |
YAML: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: YAML check (yamllint) | |
uses: ibiqlik/action-yamllint@master | |
with: | |
strict: true |