Skip to content

Commit

Permalink
Updated pipeline to support Ruff and new Poetry version
Browse files Browse the repository at this point in the history
  • Loading branch information
max-pfeiffer committed Feb 29, 2024
1 parent 9fe64cd commit a5aa52c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
5 changes: 0 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "pip"
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.6.1
version: 1.7.1
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
Expand All @@ -27,11 +27,10 @@ jobs:
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: |
poetry install --no-interaction --no-root
- name: Run pylint and black
- name: Run ruff
run: |
source .venv/bin/activate
pylint build tests
black --check .
ruff check --config pyproject.toml .
run-build-image-tests:
needs: code-quality
Expand All @@ -54,7 +53,7 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.6.1
version: 1.7.1
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
Expand Down Expand Up @@ -103,7 +102,7 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.6.1
version: 1.7.1
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
Expand Down Expand Up @@ -177,7 +176,7 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.6.1
version: 1.7.1
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
Expand Down

0 comments on commit a5aa52c

Please sign in to comment.