Skip to content

Use @main for checkout action. #21

Use @main for checkout action.

Use @main for checkout action. #21

Workflow file for this run

name: python lint
on:
push:
branches:
- master
paths:
- 'cgiexecute'
- 'mediastream'
- 'screenshot'
- 'setbackground'
- 'setringtone'
- 'xmlinfo'
- '.pylintrc'
- '.github/workflows/pylint.yml'
pull_request:
branches:
- master
paths:
- 'cgiexecute'
- 'mediastream'
- 'screenshot'
- 'setbackground'
- 'setringtone'
- 'xmlinfo'
- '.pylintrc'
- '.github/workflows/pylint.yml'
workflow_dispatch:
jobs:
lint:
name: Run python linter
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@main
- name: Install packages
run: |
sudo apt install pylint python3-lxml python3-requests python3-gi python3-gst-1.0
- name: Run pylint
run: |
pylint cgiexecute mediastream screenshot setbackground setringtone xmlinfo