Skip to content

Commit

Permalink
chore: update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaokang2022 committed Oct 22, 2024
1 parent a9243b0 commit 37a3dd1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 46 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
name: Pylint

on: [push]
on: [push, pull_request, workflow_dispatch]

jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip3 install --upgrade pip
pip3 install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
pylint tkintertools
40 changes: 0 additions & 40 deletions .github/workflows/python-package.yml

This file was deleted.

0 comments on commit 37a3dd1

Please sign in to comment.