Update for more modern sbt-riddl and syntax changes #32
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 RIDDL | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out examples | |
uses: actions/checkout@v2 | |
- name: Download riddlc | |
uses: reactific/riddl/actions/get-riddlc@main | |
- name: Validate Examples | |
run: | | |
riddlc from "src/riddl/ReactiveBBQ/ReactiveBBQ.conf" validate | |
riddlc from "src/riddl/FooBarSameDomain/FooBar.conf" validate | |
riddlc from "src/riddl/FooBarSuccess/FooBar.conf" validate | |
riddlc from "src/riddl/ReactiveBBQ/FooBar.conf" validate | |
riddlc from "src/riddl/dokn/dokn.conf" validate | |
shell: bash |