feat: moved to gitea workflows for CI/CD
All checks were successful
Lint / Lint (push) Successful in 26s

Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
This commit is contained in:
Louis Vallat 2024-09-08 11:47:27 +02:00
parent 700396cc31
commit 68d787e9ac
Signed by: louis
SSH Key Fingerprint: SHA256:usb9EA8eIADT+Bt0Ne8ZkISCbgPSOYkVgS2iZqdZj8s
2 changed files with 18 additions and 8 deletions

18
.gitea/workflows/lint.yml Normal file
View File

@ -0,0 +1,18 @@
name: "Lint"
on: push
jobs:
lint:
name: "Lint"
runs-on: python-bookworm
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Activate venv & install dependencies
run: |
python3 -m venv venv
. venv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV
pip install ansible ansible-lint
- name: Lint
run: ansible-lint --show-relpath .

View File

@ -1,8 +0,0 @@
stages:
- "linting"
ansible-lint:
stage: linting
image: registry.gitlab.com/pipeline-components/ansible-lint:latest
script:
- ansible-lint --show-relpath .