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 }
|
|
||||||
|
|
Loading…
Reference in a new issue