variables: - &rust_image 'git.seanomik.net/seanomik/rust-nightly:2023-11-21-bookworm' when: event: [push, manual, pull_request] branch: main steps: Build - Debug: image: *rust_image commands: - apt update - apt install libudev-dev lua5.4 liblua5.4-dev -y - cargo build Test - Debug: image: *rust_image commands: - apt update - apt install libudev-dev lua5.4 liblua5.4-dev -y - cargo test --all