29 lines
777 B
YAML
29 lines
777 B
YAML
---
|
|
name: Lint
|
|
|
|
# yamllint disable-line rule:truthy
|
|
on: [push, pull_request, workflow_dispatch]
|
|
|
|
jobs:
|
|
yamllint:
|
|
name: yamllint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: ⤵️ Check out code from GitHub
|
|
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
|
|
- name: 🚀 Run yamllint
|
|
uses: frenck/action-yamllint@v1.5
|
|
|
|
prettier:
|
|
name: Prettier
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: ⤵️ Check out code from GitHub
|
|
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
|
|
- name: 🚀 Run Prettier
|
|
uses: creyD/prettier_action@v4.3
|
|
with:
|
|
prettier_options: --write **/*.{json,js,md,yaml}
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|