Skip to content

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

Notifications You must be signed in to change notification settings

camerondurham/rust-earthly-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks