Skip to content

Merge pull request #177 from rust-lang/fix-github-actions-workflows #97

Merge pull request #177 from rust-lang/fix-github-actions-workflows

Merge pull request #177 from rust-lang/fix-github-actions-workflows #97

Workflow file for this run

---
name: YAML
"on":
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
lint:
name: Lint code
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run yamllint
uses: actionshub/yamllint@v1.8.2
style:
name: Check style
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run prettier
uses: creyD/prettier_action@v4.3
with:
dry: true
prettier_options: "--check **/*.{yml,yaml}"