Skip to content

Use @main for checkout action. #25

Use @main for checkout action.

Use @main for checkout action. #25

Workflow file for this run

name: python lint
on:
push:
branches:
- master
paths:
- 'certhash'
- 'sgnfile'
- 'stripsgn'
- 'tlvfile'
- 'enccnf'
- '.pylintrc'
- '.github/workflows/pylint.yml'
pull_request:
branches:
- master
paths:
- 'certhash'
- 'sgnfile'
- 'stripsgn'
- 'tlvfile'
- 'enccnf'
- '.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-cryptography python3-lxml
- name: Run pylint
run: |
pylint certhash sgnfile stripsgn tlvfile enccnf