added docker compose linter workflow
This commit is contained in:
parent
c7626ffcac
commit
9fe7751121
1 changed files with 17 additions and 0 deletions
17
.forgejo/workflows/lint.yaml
Normal file
17
.forgejo/workflows/lint.yaml
Normal file
|
@ -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 }}
|
Loading…
Reference in a new issue