diff --git a/.muggle/lint.yml b/.github/workflows/lint.yml similarity index 100% rename from .muggle/lint.yml rename to .github/workflows/lint.yml diff --git a/.markdownlint.yml b/.markdownlint.yml new file mode 100644 index 0000000..add3f6b --- /dev/null +++ b/.markdownlint.yml @@ -0,0 +1,5 @@ +--- +# headers with the same content +MD024: false +# inline html +MD033: false diff --git a/.muggle/Makefile b/.muggle/Makefile deleted file mode 100644 index 48b333e..0000000 --- a/.muggle/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -include .muggle/help.make -.DELETE_ON_ERROR: - -.PHONY: all help lint - -.DEFAULT_GOAL := help - -## Run all targets -all: render - -## Lint code base -lint: - @echo "Linting ..." - docker compose up super-linter - @echo "... linting done." diff --git a/.muggle/docker-compose.yml b/.muggle/docker-compose.yml deleted file mode 100644 index e311b43..0000000 --- a/.muggle/docker-compose.yml +++ /dev/null @@ -1,14 +0,0 @@ ---- -services: - super-linter: - # version needs to be in sync with version in .github/*.yml - image: ghcr.io/super-linter/super-linter:slim-v7.2.1 - environment: - - RUN_LOCAL=true - # fix for amd64 bug as per https://github.com/super-linter/super-linter/issues/5070 - - SHELL=/bin/bash - platform: linux/amd64 - env_file: - - ./super-linter.env - volumes: - - ./..:/tmp/lint diff --git a/Makefile b/Makefile index 8681906..5bedfca 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,15 @@ -#!make +include make/help.make +.DELETE_ON_ERROR: -include .muggle/Makefile +.PHONY: all help lint + +.DEFAULT_GOAL := help + +## Run all targets +all: render + +## Lint code base +lint: + @echo "Linting ..." + docker compose up super-linter + @echo "... linting done." diff --git a/README.md b/README.md index ea18605..ddf2ea3 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# workflows +# muggle -Reusable GitHub Actions (GHA) Workflows +devops package diff --git a/docker-compose.yml b/docker-compose.yml index df49f60..844f89d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,3 +1,14 @@ --- -include: - - .muggle/docker-compose.yml +services: + super-linter: + # version needs to be in sync with version in .github/*.yml + image: ghcr.io/super-linter/super-linter:slim-v7.2.1 + environment: + - RUN_LOCAL=true + # fix for amd64 bug as per https://github.com/super-linter/super-linter/issues/5070 + - SHELL=/bin/bash + platform: linux/amd64 + env_file: + - ./super-linter.env + volumes: + - ./:/tmp/lint diff --git a/.muggle/help.make b/make/help.make similarity index 100% rename from .muggle/help.make rename to make/help.make diff --git a/.muggle/super-linter.env b/super-linter.env similarity index 100% rename from .muggle/super-linter.env rename to super-linter.env