feat: moved to gitea workflows for CI/CD
All checks were successful
Lint / Lint (push) Successful in 26s
All checks were successful
Lint / Lint (push) Successful in 26s
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
This commit is contained in:
parent
700396cc31
commit
68d787e9ac
18
.gitea/workflows/lint.yml
Normal file
18
.gitea/workflows/lint.yml
Normal 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 .
|
@ -1,8 +0,0 @@
|
|||||||
stages:
|
|
||||||
- "linting"
|
|
||||||
|
|
||||||
ansible-lint:
|
|
||||||
stage: linting
|
|
||||||
image: registry.gitlab.com/pipeline-components/ansible-lint:latest
|
|
||||||
script:
|
|
||||||
- ansible-lint --show-relpath .
|
|
Loading…
Reference in New Issue
Block a user