refactor(ml): derive folded-bass note offset from the shared constant #9
Workflow file for this run
This file contains hidden or 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: "Copilot Setup Steps" | |
| # Optional but recommended: lets you validate it via PRs, and manually from Actions tab. | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - .github/workflows/copilot-setup-steps.yml | |
| pull_request: | |
| paths: | |
| - .github/workflows/copilot-setup-steps.yml | |
| jobs: | |
| # Copilot requires this exact job name. | |
| copilot-setup-steps: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libasound2-dev | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@nightly | |
| with: | |
| toolchain: nightly-2025-12-22 | |
| components: rustfmt, clippy | |
| - uses: cargo-bins/cargo-binstall@main | |
| # rust-cache should run AFTER toolchain selection (it keys off rustc version). | |
| - name: Rust cache | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| cache-all-crates: "true" | |
| - name: Install cargo tools | |
| run: cargo binstall cargo-make cargo-leptos wasm-pack wkg cargo-nextest cargo-llvm-cov leptosfmt --no-confirm | |
| - name: Prefetch deps | |
| run: cargo fetch |