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:
Josh Spicer 2023-01-03 14:52:56 -08:00 committed by GitHub
parent dbf069a5db
commit 6c76a7b488
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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"