Skip to content

Lint with all workflows with actionlint #8

Lint with all workflows with actionlint

Lint with all workflows with actionlint #8

Workflow file for this run

name: Lint workflows
on:
pull_request:
branches: [main, master]
jobs:
lint:
name: Lint workflows
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
- name: Checkout
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
# https://github.com/rhysd/actionlint/blob/main/docs/usage.md
- name: Check workflow files
env:
ACTIONLINT_VERSION: 1.6.27
run: |
echo "::add-matcher::.github/actionlint-matcher.json"
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
./actionlint -color -shellcheck=
shell: bash