diff --git a/templates/fractal/.github/workflows/ci.yml.twig b/templates/fractal/.github/workflows/ci.yml.twig new file mode 100644 index 0000000..c040210 --- /dev/null +++ b/templates/fractal/.github/workflows/ci.yml.twig @@ -0,0 +1,27 @@ +name: CI + +on: + pull_request: + push: + workflow_dispatch: + +{% if not isFlake %} +env: + COMPOSE_DOCKER_CLI_BUILD: 1 + DOCKER_BUILDKIT: 1 + DOCKER_UID: 1001 +{% endif %} + +jobs: + build: + name: Build + + runs-on: ubuntu-latest + + steps: + - name: Checkout the code + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4 + + - name: Build + run: | + ./run ci:build