mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-21 06:04:33 +00:00
- New workflow triggering only on yaml file changes using the built-in `yamllint` - `.yamllint.yml` configuration added at the root of the project - Fix existing yml files to satisfy ymllint - Ignore go-ethereum original yml files
18 lines
344 B
YAML
18 lines
344 B
YAML
name: YAML check
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
paths:
|
|
- "**/*.yml"
|
|
- "**/*.yaml"
|
|
- ".github/workflows/yml.yml"
|
|
- ".github/yamllint.yml"
|
|
|
|
jobs:
|
|
yaml-check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Validate YAML files
|
|
run: yamllint -c .yamllint.yml .
|