Skip to content

Bump and pin pypa/gh-action-pypi-publish action #33

Bump and pin pypa/gh-action-pypi-publish action

Bump and pin pypa/gh-action-pypi-publish action #33

Workflow file for this run

name: linting
on:
push:
branches:
- devel
- master
pull_request:
branches:
- devel
- master
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: |
pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
cache: "poetry"
- name: Install package
run: |
poetry install
- name: Run linters
env:
NO_COLORS: true # Disable colors in ruff output
run: |
echo "::add-matcher::.github/matchers/ruff.json"
echo "::add-matcher::.github/matchers/unbehead.json"
poetry run -- make lint
echo "::remove-matcher owner=unbehead::"
echo "::remove-matcher owner=ruff::"