/rust-earthly-template

WIP template to use Earthly to run boilerplate Rust best practice commands locally and in GH actions

Primary LanguageEarthly

rust-earthly-template

A very rough attempt to make the checks done in jonhoo/rust-ci-conf work in Earthly so that it's easier to run all your exact Rust CI checks locally.

Of course, you could just use a Justfile or something like that, but I'm partial to Earthly :).

Prerequisites

  1. Install earthly: https://earthly.dev/get-earthly
  2. Fork/create template
  3. (Optional) Set DOCKERHUB_USERNAME and DOCKERHUB_TOKEN Github environment secrets if DockerHub starts rate-limiting your image pull requests

Run Locally

Run these tests locally with:

earthly --ci +ci

Run scheduled jobs with:

earthly --ci +scheduled-ci