mirror of
https://github.com/DeterminateSystems/update-flake-lock.git
synced 2024-12-23 05:22:23 +01:00
ci: validate YAML
This commit is contained in:
parent
2dc5d432c4
commit
11002c9dd5
1 changed files with 20 additions and 0 deletions
20
.github/workflows/validate.yml
vendored
Normal file
20
.github/workflows/validate.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: CI
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Validate YAML
|
||||
uses: nwisbeta/validate-yaml-schema@v1.0.3
|
||||
with:
|
||||
yamlSchemasJson: |
|
||||
{
|
||||
"https://json.schemastore.org/github-action.json": ["action.yml"]
|
||||
}
|
Loading…
Reference in a new issue