From 9fe7751121630d2373d0dbaf83bddaf6d903d736 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 21 Oct 2023 11:50:27 -0400 Subject: [PATCH] added docker compose linter workflow --- .forgejo/workflows/lint.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .forgejo/workflows/lint.yaml diff --git a/.forgejo/workflows/lint.yaml b/.forgejo/workflows/lint.yaml new file mode 100644 index 0000000..2885e5c --- /dev/null +++ b/.forgejo/workflows/lint.yaml @@ -0,0 +1,17 @@ +name: Docker Compose Linter +on: [push] # yamllint disable-line rule:truthy +jobs: + Docker Compose Linter: + runs-on: docker + steps: + - uses: actions/checkout@v3 + - name: Lint YAML + uses: actions/yamllint + + - run: echo ${{ steps.yaml-lint.outputs.logfile }} + + - uses: actions/upload-artifact@v2 + if: always() + with: + name: yamllint-logfile + path: ${{ steps.yaml-lint.outputs.logfile }}