This repository has been archived by the owner on Oct 12, 2024. It is now read-only.
chore(deps): update dependency phpstan/phpstan to v1.12.6 #635
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/Validate files" | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
jobs: | |
lint-yaml: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Validate YAML file | |
run: find . \( -name "*.yml" -o -name "*.yaml" \) -print0 | xargs -0 yamllint -c .yamllint.yml --strict | |
lint-markdown: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Validate Markdown file | |
run: | | |
npm install -g markdownlint-cli | |
markdownlint -c .markdownlint.yml "**/*.md" | |
lint-workflow: | |
runs-on: ubuntu-latest | |
container: | |
image: rhysd/actionlint:1.7.0 | |
options: --cpus 1 --user root | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Validate Github workflows | |
run: | | |
mkdir .git | |
actionlint -color | |
lint-docker: | |
runs-on: ubuntu-latest | |
container: | |
image: hadolint/hadolint:2.12.0-alpine | |
options: --cpus 1 --user root | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Validate Dockerfiles | |
run: | | |
hadolint docker/Dockerfile* | |
lint-php: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: /tmp/composer-cache | |
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }} | |
- uses: php-actions/composer@v6 | |
- uses: php-actions/phpstan@v3 | |
with: | |
path: src/ | |
level: max |