name: build on: [push, workflow_dispatch] jobs: build-test: runs-on: docker container: rust:1-bookworm steps: - name: Checkout run: git clone --depth 1 ${{ github.server_url }}/${{ github.repository }}.git . - name: System deps (gtk for the unconditional linux target dep) run: apt-get update -qq && apt-get install -y -qq libgtk-3-dev - name: Build run: cargo build --workspace - name: Test run: cargo test --workspace --quiet