ci: added github workflow for running the tests

Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
This commit is contained in:
Sam Alba 2022-03-01 14:49:09 -08:00
parent 646a4d153d
commit 5767721478

42
.github/workflows/dagger-ci.yml vendored Normal file
View File

@ -0,0 +1,42 @@
name: "Dagger CI"
on:
push:
branches: [main]
paths:
- '**.sh'
- '**.bash'
- '**.go'
- '**.cue'
- '**.bats'
- 'Makefile'
- 'go.mod'
- 'go.sum'
- '.github/workflows/dagger-ci.yml'
pull_request:
branches: [main]
paths:
- '**.sh'
- '**.bash'
- '**.go'
- '**.cue'
- '**.bats'
- 'Makefile'
- 'go.mod'
- 'go.sum'
- '.github/workflows/dagger-ci.yml'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Dagger
uses: dagger/dagger-for-github@v1
with:
age-key: ${{ secrets.DAGGER_AGE_KEY }}
args: up ./ci