From dd28ccfb1b9238fb011b8e2c2287e26a1a0b751d Mon Sep 17 00:00:00 2001 From: Amadej Kastelic Date: Wed, 30 Oct 2024 22:42:52 +0100 Subject: [PATCH] Fix lint workflow --- .github/workflows/lint.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 04d42bd..93730f1 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -1,6 +1,10 @@ name: Lint -on: [push, pull_request] +on: + push: + branches: + - main + pull_request: jobs: lint: @@ -12,12 +16,7 @@ jobs: - name: Set up Python environment uses: actions/setup-python@v4 with: - python-version: "3.12.5" - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install pipenv - pipenv install --dev + python-version: "3.12.6" - name: flake8 uses: py-actions/flake8@v2 - name: black formatting