chore: success with test window check workflow! now optimizing #23
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@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 | |
- 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 |