mirror of
https://github.com/yannbertrand/macos-defaults
synced 2024-12-16 14:42:32 +00:00
10b1ae6cfb
Co-authored-by: Renovate Bot <bot@renovateapp.com>
38 lines
791 B
YAML
38 lines
791 B
YAML
name: Test defaults.yml
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- 'defaults.yml'
|
|
- 'defaults-*.yml'
|
|
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
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
|