diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml new file mode 100644 index 0000000..3b3780a --- /dev/null +++ b/.gitea/workflows/lint.yml @@ -0,0 +1,26 @@ +name: Linting +on: + push: + pull_request: + +env: + SSH_KEY: "${{ secrets.SSH_KEY }}" + +jobs: + yaml-lint: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Lint yaml + uses: ibiqlik/action-yamllint@v3 + with: + config_file: .yamllint.yml + + ansible-lint: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Lint ansible code + uses: ansible/ansible-lint@v6