steps: build: when: - event: cron - event: push branch: main - event: pull_request image: docker.io/rust:1.52.1 commands: - apt-get install libssl-dev - cargo build test: when: - event: cron - event: push branch: main - event: pull_request image: docker.io/rust:1.52.1 commands: - cargo test