-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
798c855
commit ac06213
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: "CI workflow" | ||
|
||
on: | ||
- push | ||
|
||
|
||
jobs: | ||
check_backend: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
- id: cue-auto-export | ||
name: export cue files | ||
description: Exports cue files to file with same location and stripped `.cue` extension. Infers `--out` format from last extension before `.cue`, for example `config.json.cue` will be exported to `confg.json` with `--out json`. If no such extension is found, defaults to `text`. | ||
entry: cue export --outfile docker_compose/docker-compose-local.yaml --out yaml --force | ||
language: golang | ||
files: .*\.cue$ | ||
types: [text] | ||
stages: [commit, push, manual] | ||
additional_dependencies: | ||
- cuelang.org/go/cmd/cue@latest |