Skip to content

Commit

Permalink
Wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-borusewicz committed Sep 20, 2024
1 parent 798c855 commit ac06213
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yaml
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
10 changes: 10 additions & 0 deletions .pre-commit-hooks.yaml
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

0 comments on commit ac06213

Please sign in to comment.