Add config visualizations in tutorial descriptions #9
Workflow file for this run
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 config visualizations | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
branches: | |
- master | |
- develop | |
jobs: | |
check_style: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: sudo apt-get install -y libcairo2-dev libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-4.0 graphviz parallel | |
- name: Generate the visualized configs | |
run: ./tools/visualize-configs.sh | |
- name: Check if any visualizations were updated compared to what is in the repository | |
run: ./tools/check-visualized-config-updates.sh | |
- name: Pack modified files | |
if: always() | |
run: git status --porcelain | awk 'match($1, "M"){print $2}' | tar -czf modified-files.tar.gz -T - | |
- name: Upload any updated files | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: modified-files | |
path: modified-files.tar.gz | |
if-no-files-found: ignore | |