Skip to content

Prepare for 4.1.0

Prepare for 4.1.0 #292

Workflow file for this run

---
name: Lint
'on':
push:
branches:
- main
pull_request:
branches:
- "*"
workflow_dispatch: {}
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