GitHub Action to download and cache the Effigy task runner.
steps:
- uses: actions/checkout@v4
- uses: inflatable-cookie/setup-effigy@v1
with:
version: '0.2.7'
- run: effigy test| Name | Required | Default | Description |
|---|---|---|---|
version |
Yes | — | Effigy version to install (e.g. 0.2.7) |
token |
No | github.token |
GitHub token for downloading release assets |
| Name | Description |
|---|---|
version |
The installed Effigy version |
cache-hit |
Whether the binary was restored from cache (true/false) |
| Runner OS | Architecture | Rust triple |
|---|---|---|
| Linux | x86_64 | x86_64-unknown-linux-gnu |
| Linux | ARM64 | aarch64-unknown-linux-gnu |
| macOS | ARM64 (Apple Silicon) | aarch64-apple-darwin |
| macOS | x86_64 (Intel) | x86_64-apple-darwin |
Linux note: the downloaded GNU/Linux binaries are built on an Ubuntu 22.04
baseline and target glibc >= 2.35.
The downloaded binary is cached using actions/cache@v4 with key
effigy-{version}-{triple}. On subsequent runs with the same version and
platform, the binary is restored from cache instead of re-downloaded.
name: CI
on:
pull_request:
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: inflatable-cookie/setup-effigy@v1
with:
version: '0.2.7'
- run: effigy testMIT