yml
What is a .yml file?
application/yaml
YML is an alternate file extension for YAML, a human-readable data-serialization format based on indentation, key-value mappings, and lists. The content and parsing rules are identical to .yaml; only the extension differs. It is widely used for CI and application configuration files.
How to use a .yml file
Use an example YML file to test that config loaders treat .yml and .yaml identically, and to exercise indentation, comment, and multi-document parsing.
Download example .yml files
- Docker Compose File (YAML)A sample docker-compose file defining a web service with Postgres and Redis dependencies — for testing Compose parsers and YAML tooling.
- Docker Compose Override (YAML)Sample docker-compose override file for merge/extends parser tests.
- CI Pipeline Config (YAML)Minimal CI pipeline YAML for GitHub Actions / GitLab CI parser tests.
- YAML — Intentionally Invalid (Lint Fixture)Intentionally invalid YAML indentation for parser error fixtures. Labelled intentionally invalid in title and description.
- GitHub Actions Node Matrix WorkflowA GitHub Actions CI workflow with a two-axis build matrix (three Node versions across two runners), an npm cache, and a conditional artifact upload. Six matrix combinations, so a workflow linter or matrix expander has a documented answer to check against.
- GitHub Actions Reusable Workflow (workflow_call)The called half of a reusable-workflow pair: a workflow_call trigger with typed inputs, a default value, and a declared output wired to a job output. Pair it with the caller fixture to test cross-workflow input and output resolution.
- GitHub Actions Reusable Workflow CallerThe calling half of a reusable-workflow pair: a workflow_dispatch trigger with a choice input, two jobs that call the same reusable workflow with different arguments, and a third that consumes their outputs through needs.
- GitHub Actions Composite Action DefinitionAn action.yml-shaped composite action definition with typed inputs, a declared output bound to a step output, and a branding block. Distinct from a workflow file, and a common blind spot in workflow linters that only understand .github/workflows.
and 27 more in the library.