From 9128bda670250aa76c1afc116ea2fc0e5773e1f4 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..efa4c05 --- /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.1.1 + with: + yamllint_config_filepath: .yamllint.yml + - name: Ansible lint + uses: ansible/ansible-lint@v6