Merge pull request #33 from reload/dependabot/composer/phpstan/phpsta… #124
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: | |
- pull_request | |
- push | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
actionlint: | |
name: GitHub Actions | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run actionlint | |
uses: reviewdog/action-actionlint@v1 | |
markdownlint: | |
name: Markdown | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run markdownlint | |
uses: DavidAnson/markdownlint-cli2-action@v19 | |
with: | |
globs: | | |
**/*.md | |
!README.md | |
yamllint: | |
name: YAML | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run yamllint | |
uses: frenck/action-yamllint@v1.5.0 | |
with: | |
strict: true | |
shellcheck: | |
name: Shell scripts | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run shellcheck | |
uses: ludeeus/action-shellcheck@2.0.0 | |
env: | |
SHELLCHECK_OPTS: -o all | |
checkmake: | |
name: Makfile | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run checkmake | |
uses: Uno-Takashi/checkmake-action@main |