mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 17:07:22 +00:00
27 lines
606 B
YAML
27 lines
606 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- ".github/workflows/**"
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/**"
|
|
branches:
|
|
- main
|
|
- "!v[0-9]*"
|
|
|
|
jobs:
|
|
lint-workflows:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
# 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/main/scripts/download-actionlint.bash)
|
|
./actionlint -color -shellcheck=""
|