blob: caef813e5f83d007a4d8a1c733a2bd02041a7ed7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
name: Pylint
on:
push:
paths:
- '**.py'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.x"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
ref: ${{ github.event.pull_request.head.ref }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install cryptography prettytable
- name: Install Ruff
uses: astral-sh/ruff-action@v3.2.2
- name: Ruff Actions
run: |
ruff check --fix
ruff format
- name: Add and Commit
uses: EndBug/add-and-commit@v9
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
default_author: github_actions
pathspec_error_handling: ignore
|