ci: added clang tools config files to paths #57
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: Check Workflows | |
on: | |
push: | |
branches: | |
- main | |
- 'renovate/**' | |
paths: | |
- '.github/workflows/**.yml' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/**.yml' | |
workflow_dispatch: | |
workflow_call: | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Run actionlint | |
run: | | |
# add problem matcher for actionlint | |
wget https://raw.githubusercontent.com/rhysd/actionlint/main/.github/actionlint-matcher.json \ | |
-O actionlint-matcher.json | |
echo "::add-matcher::actionlint-matcher.json" | |
# download and run actionlint | |
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) | |
./actionlint -verbose -color |