Files
wrkflw/src
bahdotsh 34e1fc513e ix(executor): correct image selection and workspace mapping for run steps
Previously, `run` steps in Docker jobs were failing due to several issues:
- They were hardcoded to use `ubuntu:latest`, which often lacked necessary tools like `cargo`.
- Even when the image was correct, the host workspace directory was not properly mapped into the container, preventing access to source files.

This commit addresses these issues by:
- Using the correct runner image specified by the job's `runs_on` field for `run` steps, instead of always defaulting to `ubuntu:latest`.
- Updating the `get_runner_image` function to map `macos-latest` runners to `rust:latest` to ensure the Rust toolchain is available for relevant workflows.
- Correctly mapping the host working directory to `/github/workspace` within the container for `run` steps.
- Setting the container's working directory to `/github/workspace` when executing `run` steps.

This allows commands like `cargo build` and `cargo test` within `run` steps to find both the necessary tools and the project source code inside the container.
2025-04-30 16:51:38 +05:30
..
2025-04-25 13:21:45 +05:30
2025-04-30 16:14:28 +05:30
2025-04-21 16:42:16 +05:30
2025-04-25 13:21:45 +05:30
2025-04-21 17:38:43 +05:30