steps: build: when: - event: cron - event: push branch: main - event: pull_request image: docker.io/rust:latest commands: - cargo build test: when: - event: cron - event: push branch: main - event: pull_request image: docker.io/rust:latest commands: - cargo test