mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
32 lines
751 B
YAML
32 lines
751 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- ".github/workflows/**"
|
|
branches:
|
|
- main
|
|
- 3.x
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/**"
|
|
branches:
|
|
- main
|
|
- 3.x
|
|
- "!v[0-9]*"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
lint-workflows:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
# From https://github.com/rhysd/actionlint/blob/main/docs/usage.md#use-actionlint-on-github-actions
|
|
- name: Check workflow files
|
|
run: |
|
|
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/590d3bd9dde0c91f7a66071d40eb84716526e5a6/scripts/download-actionlint.bash) 1.6.25
|
|
./actionlint -color -shellcheck=""
|