diff --git a/.gitea/workflows/development.yml b/.gitea/workflows/development.yml new file mode 100644 index 0000000..8f95855 --- /dev/null +++ b/.gitea/workflows/development.yml @@ -0,0 +1,21 @@ +--- +name: Development +# yamllint disable-line rule:truthy +on: + workflow_dispatch: + push: + branches: [develop, master] + pull_request: +jobs: + lint: + name: Lint code + runs-on: ubuntu-latest + steps: + - name: Checkout source code + uses: actions/checkout@v4 + - name: YAML lint + uses: karancode/yamllint-github-action@v2 + with: + yamllint_config_filepath: .yamllint.yml + - name: Ansible lint + uses: ansible/ansible-lint@v6