Skip to content

chore(deps): update dependency test/pylint to v3 #194

chore(deps): update dependency test/pylint to v3

chore(deps): update dependency test/pylint to v3 #194

Workflow file for this run

name: build
on:
- push
- pull_request
jobs:
pytest:
name: ${{ matrix.name }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- name: Salt 3007
env: py3-salt3007-crypt42
python: "3.10"
- name: Salt 3006
env: py3-salt3006-crypt39
python: "3.10"
steps:
- uses: actions/checkout@v1
- uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python }}
- run: pdm install --dev --no-self --no-default
- run: pdm run tox -e ${{ matrix.env }} -- -vv
ruff-check:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
with:
python-version: "3.12"
- run: pdm install --dev --no-self --no-default
- run: pdm run ruff check --no-fix --diff
ruff-format:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
with:
python-version: "3.12"
- run: pdm install --dev --no-self --no-default
- run: pdm run ruff format --diff --check