variables: - &rust_image 'rust:1.76-alpine' when: - event: pull_request steps: Build - Release: image: *rust_image commands: - apk --update add libudev-zero lua5.4 lua5.4-dev musl-dev --no-interactive - cargo build --release Test - Release: image: *rust_image commands: - apk --update add libudev-zero lua5.4 lua5.4-dev musl-dev --no-interactive - cargo test --all --release