Skip to content

ci: run a self-check in check workflow #3

ci: run a self-check in check workflow

ci: run a self-check in check workflow #3

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