YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
feat: ga: sorted and unused deps
valeratradesf5cbe46ac316
diff --git a/.github/workflows/style.yml b/.github/workflows/style.ymlnew file mode 100644index 000000000..d023afc65--- /dev/null+++ b/.github/workflows/style.yml@@ -0,0 +1,43 @@+name: Rust Style++on: [push]++env:+ CARGO_TERM_COLOR: always++jobs:+ sort:+ name: Cargo Sorted+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4+ - name: Install cargo-sort+ run: |+ cargo install cargo-sort++ - name: Check if Cargo.toml is sorted+ run: |+ cargo sort -wc+ exit_code=$?+ if [ $exit_code != 0 ]; then+ echo "Cargo.toml is not sorted. Run `cargo sort -w` to fix it."+ exit $exit_code+ fi++ machete:+ name: Cargo Machete+ runs-on: ubuntu-latest++ steps:+ - name: Install cargo-machete+ run: |+ cargo install cargo-machete++ - name: Check for unused dependencies+ run: |+ cargo machete+ exit_code=$?+ if [ $exit_code != 0 ]; then+ echo "Found unused dependencies. Run `cargo machete` locally and remove the matches or include them to ignored."+ exit $exit_code+ fi