GitHub: setup action #11
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: Frontend JSON Generation | |
on: | |
push: | |
pull_request: | |
jobs: | |
generation: | |
runs-on: ubuntu-latest | |
container: | |
image: debian:stable-slim | |
steps: | |
- name: Python setup | |
run: | | |
apt-get update && apt-get install --no-install-recommends -y python3 python3-venv python3-pip && apt-get clean | |
python3 -m venv venv | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install requirements | |
run: | | |
. venv/bin/activate | |
pip3 install -r requirements.txt | |
- name: Validate YAMLs | |
run: | | |
. venv/bin/activate | |
make -j$(nproc) validate | |
- name: Generate JSONs | |
run: | | |
. venv/bin/activate | |
make O=./build -j$(nproc) |