Skip to content

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

fix(ci): macOS E2E never ran (if-conditions excluded schedule), Windows E2E missing Rust

Louis Beaumont4ade75801ca6
diff --git a/.github/workflows/e2e-macos.yml b/.github/workflows/e2e-macos.yml
index b0d9015bf..4a0781b6e 100644
--- a/.github/workflows/e2e-macos.yml
+++ b/.github/workflows/e2e-macos.yml
@@ -19,9 +19,8 @@ jobs:
runs-on: macos-14 # M1, Sonoma
timeout-minutes: 45
if: >
- github.event_name == 'pull_request' ||
- github.event_name == 'workflow_dispatch' ||
- (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
+ github.event_name == 'schedule' ||
+ github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v4
@@ -107,8 +106,8 @@ jobs:
# Never run on PRs (fork code could be malicious).
if: >
github.ref == 'refs/heads/main' &&
- (github.event_name == 'workflow_dispatch' ||
- (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success'))
+ (github.event_name == 'schedule' ||
+ github.event_name == 'workflow_dispatch')
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/e2e-windows.yml b/.github/workflows/e2e-windows.yml
index ba4cc6a25..d787a437d 100644
--- a/.github/workflows/e2e-windows.yml
+++ b/.github/workflows/e2e-windows.yml
@@ -34,6 +34,21 @@ jobs:
echo "cpu: $((Get-CimInstance Win32_Processor).Name)"
echo "memory: $([math]::Round((Get-CimInstance Win32_ComputerSystem).TotalPhysicalMemory / 1GB))GB"
+ - name: Setup Rust
+ shell: powershell
+ run: |
+ if (Get-Command rustup -ErrorAction SilentlyContinue) {
+ rustup update stable --no-self-update
+ } else {
+ Invoke-WebRequest -Uri https://win.rustup.rs -OutFile rustup-init.exe
+ .\rustup-init.exe -y --default-toolchain stable
+ Remove-Item rustup-init.exe
+ $env:PATH = "$env:USERPROFILE\.cargo\bin;$env:PATH"
+ echo "$env:USERPROFILE\.cargo\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ }
+ rustc --version
+ cargo --version
+
- name: Install/update BigBrother CLI
shell: powershell
run: |