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
reduce github actions usage by ~33%
Louis Beaumontf9863801d4c8
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.ymlindex ca8ed6add..e39b515c6 100644--- a/.github/workflows/benchmark.yml+++ b/.github/workflows/benchmark.yml@@ -1,6 +1,14 @@name: Rust Benchmark-on: [push]+on:+ push:+ branches: [main]+ schedule:+ - cron: '0 0 * * 0' # Weekly on Sunday++concurrency:+ group: ${{ github.workflow }}-${{ github.ref }}+ cancel-in-progress: trueenv:CARGO_TERM_COLOR: alwaysdiff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 09a5fa265..5fd30c41a 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -6,7 +6,23 @@ name: Rust CIon:push:+ paths:+ - '**.rs'+ - '**/Cargo.toml'+ - '**/Cargo.lock'+ - '.github/workflows/ci.yml'+ - '.github/scripts/**'pull_request:+ paths:+ - '**.rs'+ - '**/Cargo.toml'+ - '**/Cargo.lock'+ - '.github/workflows/ci.yml'+ - '.github/scripts/**'++concurrency:+ group: ${{ github.workflow }}-${{ github.ref }}+ cancel-in-progress: truejobs:test-ubuntu:diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.ymlindex 0725c0e29..227344353 100644--- a/.github/workflows/e2e-test.yml+++ b/.github/workflows/e2e-test.yml@@ -6,6 +6,10 @@ on:pull_request:branches: [ main ]+concurrency:+ group: ${{ github.workflow }}-${{ github.ref }}+ cancel-in-progress: true+jobs:windows-e2e-test:name: Windows E2E Testsdiff --git a/.github/workflows/linux-integration-test.yml b/.github/workflows/linux-integration-test.ymlindex 9acec4a3a..81ddc8254 100644--- a/.github/workflows/linux-integration-test.yml+++ b/.github/workflows/linux-integration-test.yml@@ -2,9 +2,13 @@ name: Linux Integration Teston:push:- branches: [ main ]+ branches: [ main ]pull_request:- branches: [ main ]+ branches: [ main ]++concurrency:+ group: ${{ github.workflow }}-${{ github.ref }}+ cancel-in-progress: truejobs:test-linux:diff --git a/.github/workflows/style.yml b/.github/workflows/style.ymlindex ecc7e2122..6dbcff4c0 100644--- a/.github/workflows/style.yml+++ b/.github/workflows/style.yml@@ -2,6 +2,10 @@ name: Code Quality & Optimizationon: [push, pull_request]+concurrency:+ group: ${{ github.workflow }}-${{ github.ref }}+ cancel-in-progress: true+env:CARGO_TERM_COLOR: always@@ -35,42 +39,17 @@ jobs:optimize:name: Dependency & Performance Checks- strategy:- matrix:- os: [ubuntu-latest, windows-latest, macos-latest]- runs-on: ${{ matrix.os }}+ runs-on: ubuntu-lateststeps:- uses: actions/checkout@v4- name: Check for unused dependencies- if: matrix.os != 'windows-latest'uses: bnjbvr/cargo-machete@main- name: Install dependencies- if: matrix.os == 'ubuntu-latest'run: .github/scripts/install_dependencies.sh- - name: Install cargo-udeps- if: matrix.os == 'macos-latest'- run: |- rustup install nightly- cargo +nightly install cargo-udeps --locked-- - name: Run cargo-udeps- if: matrix.os == 'macos-latest'- continue-on-error: true- run: cargo +nightly udeps-- - name: Install cargo-bloat- if: matrix.os == 'macos-latest'- run: cargo install cargo-bloat-- - name: Analyze binary size- if: matrix.os == 'macos-latest'- continue-on-error: true- run: cargo bloat --release-- name: Install cargo-auditrun: cargo install cargo-auditdiff --git a/.github/workflows/windows-integration-test.yml b/.github/workflows/windows-integration-test.ymlindex 0a4b210da..dcd71baa8 100644--- a/.github/workflows/windows-integration-test.yml+++ b/.github/workflows/windows-integration-test.yml@@ -6,6 +6,10 @@ on:pull_request:branches: [ main ]+concurrency:+ group: ${{ github.workflow }}-${{ github.ref }}+ cancel-in-progress: true+jobs:test-windows:runs-on: windows-2019