mirror of
https://github.com/DO1JLR/ansible_linux_desktop_setup.git
synced 2024-09-14 19:54:51 +02:00
automated linting
This commit is contained in:
parent
c23aafa008
commit
75609fb2a3
5 changed files with 20 additions and 7 deletions
15
.github/workflows/pylint.yml
vendored
Normal file
15
.github/workflows/pylint.yml
vendored
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
name: 'Pylint GitHub Actions'
|
||||||
|
|
||||||
|
# yamllint disable-line rule:truthy
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
pylint:
|
||||||
|
name: 'Pylint'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: 'Checkout'
|
||||||
|
uses: actions/checkout@master
|
||||||
|
- name: GitHub Action for pylint
|
||||||
|
uses: cclauss/GitHub-Action-for-pylint@0.7.0
|
2
.github/workflows/yamllint.yaml
vendored
2
.github/workflows/yamllint.yaml
vendored
|
@ -18,5 +18,3 @@ jobs:
|
||||||
yamllint_config_filepath: './.yamllint'
|
yamllint_config_filepath: './.yamllint'
|
||||||
yamllint_strict: false
|
yamllint_strict: false
|
||||||
yamllint_comment: true
|
yamllint_comment: true
|
||||||
# env:
|
|
||||||
# GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
hosts: desk_minni.local
|
hosts: desk_minni.local
|
||||||
roles:
|
roles:
|
||||||
- {role: akku-warning, tags: akku}
|
- {role: akku-warning, tags: akku}
|
||||||
# - {role: pulseaudio, tags: [pulse, audio, pulseaudio]}
|
# - {role: pulseaudio, tags: [pulse, audio, pulseaudio]}
|
||||||
- {role: networkmanager, tags: networkmanager, when: ansible_os_family == 'Archlinux'}
|
- {role: networkmanager, tags: networkmanager, when: ansible_os_family == 'Archlinux'}
|
||||||
- {role: openvpn, tags: ovpn}
|
- {role: openvpn, tags: ovpn}
|
||||||
- {role: nextcloud, tags: nextcloud, when: ansible_os_family == 'Archlinux'}
|
- {role: nextcloud, tags: nextcloud, when: ansible_os_family == 'Archlinux'}
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
- {role: ntp, tags: ntp}
|
- {role: ntp, tags: ntp}
|
||||||
- {role: xrandr, tags: xrandr}
|
- {role: xrandr, tags: xrandr}
|
||||||
- {role: arch-fonts, tags: fonts}
|
- {role: arch-fonts, tags: fonts}
|
||||||
# - {role: winehq, tags: wine}
|
# - {role: winehq, tags: wine}
|
||||||
- {role: no-sleep, tags: sleep}
|
- {role: no-sleep, tags: sleep}
|
||||||
- {role: do1jlr.avahi_daemon, tags: [avahi_daemon, avahi]}
|
- {role: do1jlr.avahi_daemon, tags: [avahi_daemon, avahi]}
|
||||||
- {role: do1jlr.avahi_client, tags: [avahi_client, mdns]}
|
- {role: do1jlr.avahi_client, tags: [avahi_client, mdns]}
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
hosts: l14.local
|
hosts: l14.local
|
||||||
roles:
|
roles:
|
||||||
- {role: akku-warning, tags: akku}
|
- {role: akku-warning, tags: akku}
|
||||||
# - {role: pulseaudio, tags: [pulse, audio, pulseaudio]}
|
# - {role: pulseaudio, tags: [pulse, audio, pulseaudio]}
|
||||||
- {role: networkmanager, tags: networkmanager, when: ansible_os_family == 'Archlinux'}
|
- {role: networkmanager, tags: networkmanager, when: ansible_os_family == 'Archlinux'}
|
||||||
- {role: openvpn, tags: ovpn}
|
- {role: openvpn, tags: ovpn}
|
||||||
- {role: nextcloud, tags: nextcloud, when: ansible_os_family == 'Archlinux'}
|
- {role: nextcloud, tags: nextcloud, when: ansible_os_family == 'Archlinux'}
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
- {role: ntp, tags: ntp}
|
- {role: ntp, tags: ntp}
|
||||||
- {role: xrandr, tags: xrandr}
|
- {role: xrandr, tags: xrandr}
|
||||||
- {role: arch-fonts, tags: fonts}
|
- {role: arch-fonts, tags: fonts}
|
||||||
# - {role: winehq, tags: wine}
|
# - {role: winehq, tags: wine}
|
||||||
- {role: no-sleep, tags: sleep}
|
- {role: no-sleep, tags: sleep}
|
||||||
- {role: do1jlr.avahi_daemon, tags: [avahi_daemon, avahi]}
|
- {role: do1jlr.avahi_daemon, tags: [avahi_daemon, avahi]}
|
||||||
- {role: do1jlr.avahi_client, tags: [avahi_client, mdns]}
|
- {role: do1jlr.avahi_client, tags: [avahi_client, mdns]}
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
hosts: t460p.local
|
hosts: t460p.local
|
||||||
roles:
|
roles:
|
||||||
- {role: akku-warning, tags: akku}
|
- {role: akku-warning, tags: akku}
|
||||||
# - {role: pulseaudio, tags: [pulse, audio, pulseaudio]}
|
# - {role: pulseaudio, tags: [pulse, audio, pulseaudio]}
|
||||||
- {role: networkmanager, tags: networkmanager, when: ansible_os_family == 'Archlinux'}
|
- {role: networkmanager, tags: networkmanager, when: ansible_os_family == 'Archlinux'}
|
||||||
- {role: openvpn, tags: ovpn}
|
- {role: openvpn, tags: ovpn}
|
||||||
- {role: nextcloud, tags: nextcloud, when: ansible_os_family == 'Archlinux'}
|
- {role: nextcloud, tags: nextcloud, when: ansible_os_family == 'Archlinux'}
|
||||||
|
|
Loading…
Reference in a new issue