Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,25 @@ jobs:
# (actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5).
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5

# Integration tests honor RUSTSCRIPT_AGENT_TEST_TMP for SQLite state and
# fixture scripts; without it they fall back to /mnt/TEMP/rustscript/...
# which is not writable on CI runners. `runner` is unavailable in
# workflow-level and job-level `env`, so export the runner default
# RUNNER_TEMP path from a step instead.
# Native helpers and integration fixtures use three assigned scratch
# aliases; keep them on one runner-owned root. Fixtures create private
# directories beneath it, and the root must exist before tests start.
- name: Configure test temp root
run: echo "RUSTSCRIPT_AGENT_TEST_TMP=${RUNNER_TEMP}/rustscript-agent-tests" >> "$GITHUB_ENV"
run: |
test_tmp="${RUNNER_TEMP}/rustscript-agent-tests"
mkdir -p "$test_tmp"
{
printf 'RUSTSCRIPT_AGENT_TEST_TMP=%s\n' "$test_tmp"
printf 'TEST_TMPDIR=%s\n' "$test_tmp"
printf 'RUSTSCRIPT_AGENT_TEST_TMPDIR=%s\n' "$test_tmp"
} >> "$GITHUB_ENV"

- name: Install Rust toolchain
# Full-SHA pin, matching the rustscript-lang/rustscript CI policy
# (dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30).
uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30
with:
toolchain: '1.99'
components: rustfmt, clippy

- name: Cache cargo registry, git db, and build target
Expand Down
227 changes: 225 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading