From 9aa6ef3f763fc80856970d3b03b582b2cbf501a2 Mon Sep 17 00:00:00 2001 From: Noah Knegt Date: Thu, 15 Feb 2024 14:29:48 +0100 Subject: [PATCH] ci: Start moving tasks to gitea actions Signed-off-by: Noah Knegt --- .gitea/workflows/development.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitea/workflows/development.yml 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