Skip to content

ci: avoid command duplication in CI and use set -x to visualize what is ran #338

ci: avoid command duplication in CI and use set -x to visualize what is ran

ci: avoid command duplication in CI and use set -x to visualize what is ran #338

Workflow file for this run

name: Ruff
on: [push, pull_request]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v5
with:
# run on a "fresh" python
python-version: 3.12
- name: Checkout
uses: actions/checkout@v4
- name: Install hatch
run: python -m pip install hatch
- name: Check code
run: hatch fmt --check