Default to PHP 8.2 (#108) #18
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 GitHub Actions workflows | |
on: | |
push: | |
paths: | |
- '**.yml' | |
pull_request: | |
workflow_dispatch: | |
workflow_call: | |
jobs: | |
actionlint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up problem matchers for actionlint | |
run: | | |
curl -s -o actionlint-matcher.json https://raw.githubusercontent.com/rhysd/actionlint/main/.github/actionlint-matcher.json | |
echo "::add-matcher::${GITHUB_WORKSPACE}/actionlint-matcher.json" | |
- name: Run actionlint | |
uses: docker://rhysd/actionlint:latest | |
with: | |
args: -color -pyflakes= -shellcheck= |