agent: Add GitHub action for daily eval run (#28863)

Thomas Mickley-Doyle created

Release Notes:

- N/A

Change summary

.github/workflows/run_agent_eval_daily.yml | 28 ++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Detailed changes

.github/workflows/run_agent_eval_daily.yml 🔗

@@ -0,0 +1,28 @@
+name: Run Eval Daily
+
+on:
+  schedule:
+    - cron: "0 2 * * *"
+  workflow_dispatch:
+
+env:
+  CARGO_TERM_COLOR: always
+  CARGO_INCREMENTAL: 0
+  RUST_BACKTRACE: 1
+
+jobs:
+  run_eval:
+    name: Run Eval
+    if: github.repository_owner == 'zed-industries'
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout repo
+        uses: actions/checkout@v4
+        with:
+          clean: false
+
+      - name: Setup Rust
+        uses: dtolnay/rust-toolchain@stable
+
+      - name: Run cargo eval
+        run: cargo run -p eval