macos-defaults/.github/workflows/test-defaults.yml
2023-08-16 10:52:50 +02:00

36 lines
750 B
YAML

name: Test defaults.yml
on:
push:
paths:
- 'defaults.yml'
- 'defaults-*.yml'
pull_request:
permissions: {}
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Lint defaults.yml
uses: ibiqlik/action-yamllint@v3.1.1
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.1
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@v2.0.0