dummy example module for examples #152
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: "Check Syntax of YANG Modules" | |
on: | |
push: | |
paths: | |
- '**.yang' | |
pull_request: | |
paths: | |
- '**.yang' | |
jobs: | |
build: | |
name: "Check Syntax of YANG Modules" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: "Install pyang" | |
run: | | |
python -m pip install --upgrade pip | |
pip install pyang | |
- name: "Lint using pyang" | |
run: | | |
make pyang-lint |