Update as per recent changes in the main branch #290
Workflow file for this run
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
--- | |
name: Lint | |
'on': | |
- push | |
concurrency: | |
group: ${{github.workflow}}-${{github.ref}} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Run ShellCheck and shfmt | |
uses: luizm/action-sh-checker@v0.8.0 | |
env: | |
SHELLCHECK_OPTS: -o all | |
SHFMT_OPTS: -i 4 -d | |
# uses .markdownlint.yml for configuration | |
- name: Run markdownlint | |
uses: DavidAnson/markdownlint-cli2-action@v15 | |
with: | |
globs: | | |
*.md | |
.github/**/*.md | |
- name: Run yamllint | |
uses: ibiqlik/action-yamllint@v3 | |
with: | |
file_or_dir: | | |
.github/workflows/**/*.yml | |
.*.yml | |
strict: true | |
config_file: .yamllint.yml |