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