macos-defaults/.github/workflows/test-defaults.yml
2022-08-16 11:38:01 +02:00

38 lines
787 B
YAML

name: Test defaults.yml
on:
push:
branches:
- main
paths:
- 'defaults.yml'
- 'defaults-*.yml'
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Lint defaults.yml
uses: ibiqlik/action-yamllint@v3.1.0
with:
file_or_dir: defaults.yml
config_file: .github/workflows/config/yml-lint.yml
strict: true
- name: Lint defaults-fr.yml
uses: ibiqlik/action-yamllint@v3.1.0
with:
file_or_dir: defaults-fr.yml
config_file: .github/workflows/config/yml-lint.yml
strict: true
- name: Validate 'defaults-*.yml' against schema
uses: nwisbeta/validate-yaml-schema@v1.0.3