ci: added github workflow for running the tests
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
This commit is contained in:
parent
646a4d153d
commit
5767721478
42
.github/workflows/dagger-ci.yml
vendored
Normal file
42
.github/workflows/dagger-ci.yml
vendored
Normal 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
|
Reference in New Issue
Block a user