Add validate workflow (#369)
* add validate workflow
* make typo to test 3c61c88
* remove unneeded if
* fix typo
* better names
* Update validate-metadata-files.yml
This commit is contained in:
parent
dbf069a5db
commit
6c76a7b488
1 changed files with 16 additions and 0 deletions
16
.github/workflows/validate-metadata-files.yml
vendored
Normal file
16
.github/workflows/validate-metadata-files.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
name: "Validate devcontainer-feature.json files"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: "Validate devcontainer-feature.json files"
|
||||
uses: devcontainers/action@v1
|
||||
with:
|
||||
validate-only: "true"
|
||||
base-path-to-features: "./src"
|
Loading…
Reference in a new issue