File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,10 +50,12 @@ jobs:
5050 source dagger_python/venv/bin/activate
5151
5252 # Step 7: Install maturin (for Rust-Python bindings)
53- - name : Install maturin
53+ - name : Install maturin & build Rust dependencies
5454 run : |
5555 source dagger_python/venv/bin/activate
5656 pip install maturin
57+ cd rust_project_directory # Change this if your Rust code is in another directory
58+ cargo check # Ensures Cargo.lock is generated
5759
5860 # Step 8: Install Python dependencies (from requirements.txt)
5961 - name : Install dependencies
Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ debug/
294294
295295# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
296296# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
297- Cargo.lock
297+ # Cargo.lock
298298
299299# These are backup files generated by rustfmt
300300** /* .rs.bk
You can’t perform that action at this time.
0 commit comments