REC TC decision 1/11/24 - resolution to issue #252 and #244 #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate DTDL sources | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- "main" | |
paths: | |
- "Source/DTDL**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
- name: Build DTDL Validator | |
run: dotnet build ./Tools/DTDLValidator/ | |
- name: Run DTDL Validator on REC DTDLv2 | |
run: dotnet run --project ./Tools/DTDLValidator/ --recursive true --directory ./Source/DTDLv2/ |