mirror of
https://github.com/earthly/actions-setup.git
synced 2024-12-27 14:51:02 +08:00
Alex Couture-Beil
9f9583cd9d
github action for running earthly
- this action installs earthly Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
actions
GitHub Actions for earthly
Here's an example of how to use earthly in github actions:
name: GitHub Actions CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
name: example earthly test
runs-on: ubuntu-latest
steps:
- uses: earthly/actions/setup-earthly@main
with:
version: v0.5.10
- uses: actions/checkout@v2
- name: what version is installed?
run: earthly --version
- name: run the earthly hello world
run: earthly github.com/earthly/hello-world:main+hello
Description
Languages
TypeScript
69.6%
Earthly
30.4%