From 6c76a7b4883a2639cedf805ed786b5b84100841d Mon Sep 17 00:00:00 2001 From: Josh Spicer Date: Tue, 3 Jan 2023 14:52:56 -0800 Subject: Add validate workflow (#369) * add validate workflow * make typo to test 3c61c88 * remove unneeded if * fix typo * better names * Update validate-metadata-files.yml --- .github/workflows/validate-metadata-files.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/validate-metadata-files.yml (limited to '.github/workflows') diff --git a/.github/workflows/validate-metadata-files.yml b/.github/workflows/validate-metadata-files.yml new file mode 100644 index 0000000..dbba8e2 --- /dev/null +++ b/.github/workflows/validate-metadata-files.yml @@ -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" -- cgit v1.2.3