Skip to content

chore: bump pytest-cov from 6.3.0 to 7.1.0 #1425

chore: bump pytest-cov from 6.3.0 to 7.1.0

chore: bump pytest-cov from 6.3.0 to 7.1.0 #1425

Workflow file for this run

# This workflow will check our code for having a proper format, as well as the commit message to meet the expected ones
name: Lint
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
lint:
runs-on: ubuntu-latest
if: "!startsWith(github.event.head_commit.message, 'bump:')"
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install uv
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
with:
version: "0.8.22"
- name: Install the project
run: uv sync --locked --group dev --python 3.10
- name: Cache mypy cache
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v4.2.1
with:
path: .mypy_cache
key: mypy-${{ runner.os }}
restore-keys: |
mypy-${{ runner.os }}
- name: Lint
run: |
uv run ruff format --check src tests
uv run ruff check src tests
uv run mypy src tests
lint-commit:
runs-on: ubuntu-latest
if: "!startsWith(github.event.head_commit.message, 'bump:')"
name: "Lint commit message"
container:
image: commitizen/commitizen:4.8.3@sha256:08a078c52b368f85f34257a66e10645ee74d8cbe9b471930b80b2b4e95a9bd4a
steps:
- name: Check out
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Check commit message
run: |
git config --global --add safe.directory /__w/twyn/twyn
cz check --rev-range HEAD