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 }}