Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
warittornc committed Sep 25, 2024
1 parent 66f8d25 commit 3c7aad0
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/aggregate_signals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,40 +11,40 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11.2'

- name: Install Python dependencies
- name: Install Python Dependencies
run: |
python -m pip install --upgrade pip
pip install pyyaml
- name: Run Python script
- name: Aggregate Signals
run: python .github/scripts/merge_all.py ./signals .

- name: Cache Rust-Script Cache Directory
- name: Cache Rust-Script
uses: actions/cache@v4
with:
path: ~/.cache/rust-script
key: ${{ runner.os }}-rust-script
key: ${{ runner.os }}-rust-script-${{ hashFiles('.github/scripts/validate.rs') }}
restore-keys: |
${{ runner.os }}-rust-script
${{ runner.os }}-rust-script-${{ hashFiles('.github/scripts/validate.rs') }}
- name: Setup Rust toolchain
- name: Setup Rust Toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Install rust-script
- name: Install Rust Script
run: cargo install rust-script

- name: Install dependencies
- name: Install Dependencies
run: sudo apt update && sudo apt-get install clang -y

- name: Run Rust script
- name: Validate Aggregated Signals
run: .github/scripts/validate.rs registry.json

- name: Commit aggregated signals
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: aggregate signals
commit_message: aggregated signals

0 comments on commit 3c7aad0

Please sign in to comment.