ci: first ci config

This commit is contained in:
Marvin Preuss 2024-03-20 08:05:28 +00:00
parent 8fd487b935
commit 6e66ab6084

17
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Earthly +build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
env:
FORCE_COLOR: 1
steps:
- uses: actions/checkout@v4
- name: Download latest earthly
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.6/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
- name: Run build
run: earthly --ci --push +ci