Skip to content

Commit

Permalink
Reuse the lint workflow in the publish one
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmeinhold committed Jul 2, 2024
1 parent d99278b commit 5cd538e
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,7 @@ jobs:
lint:
runs-on: ubuntu-latest
needs: validate-gpg

strategy:
matrix:
python-version:
- '3.7'
- '3.8'
- '3.9'

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements-lint.txt ]; then pip install -r requirements-lint.txt; fi
- name: Lint with pylint
run: |
pylint pylint_fixme_info
uses: mxmeinhold/pylint-fixme-info/.github/workflows/python-ci.yml

build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5cd538e

Please sign in to comment.