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: Run Python and Rust Scripts | |
on: | |
push: | |
jobs: | |
run-scripts: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pyyaml | |
- name: Run Python script | |
run: python scripts/merge_all.py ./scripts . | |
- name: Setup Rust toolchain | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- name: Install rust-script | |
run: cargo install rust-script | |
- name: Install dependencies | |
run: sudo apt update && sudo apt-get install clang -y | |
- name: Use caching | |
uses: Swatinem/rust-cache@v2 | |
- name: Run Rust script | |
run: scripts/validate.rs registry.json | |
- name: Commit aggregated signals | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Aggregate signals |