25 lines
595 B
YAML
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 }}
|