feature/svelte styles #107
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Do not edit this file! Make a pull request on changing | |
# github/workflows/yaml.yaml in | |
# https://github.com/itk-dev/devops_itkdev-docker if need be. | |
### ### YAML | |
### | |
### Validates YAML files. | |
### | |
### #### Assumptions | |
### | |
### 1. A docker compose service named `prettier` for running | |
### [Prettier](https://prettier.io/) exists. | |
### | |
### #### Symfony YAML | |
### | |
### Symfony's YAML config files use 4 spaces for indentation and single quotes. | |
### Therefore we use a [Prettier configuration | |
### file](https://prettier.io/docs/configuration), `.prettierrc.yaml`, to make | |
### Prettier format YAML files in the `config/` folder like Symfony expects. | |
name: YAML | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- develop | |
jobs: | |
yaml-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
docker network create frontend | |
- run: | | |
docker compose run --rm prettier '**/*.{yml,yaml}' --check |