docker_systemd_service/.gitea/workflows/test.yml
Bertrand Lanson 3d3ef70dba
Some checks failed
test / Linting (push) Failing after 28s
feat(ci): add linting job
2023-12-05 22:17:12 +01:00

25 lines
595 B
YAML

---
name: test
on: [push]
jobs:
lint:
name: Linting
runs-on: ubuntu-latest
container:
image: git.ednz.fr/container-factory/ansible-runner:act-latest
credentials:
username: ${{ secrets.ACTIONS_USER }}
password: ${{ secrets.ACTIONS_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: "Ansible lint"
run: ansible-lint --force-color
working-directory: ${{ gitea.workspace }}
- name: "YAML lint"
run: yamllint . -f colored -c .yamllint
working-directory: ${{ gitea.workspace }}