Skip to content

🔧(tooling-presentation) async tasks in dev #1590

🔧(tooling-presentation) async tasks in dev

🔧(tooling-presentation) async tasks in dev #1590

Workflow file for this run

name: Chore
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
types: [opened, synchronize, reopened, edited]
permissions:
contents: read
jobs:
build-dev:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./dev
steps:
- uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
version: "0.8.17"
enable-cache: true
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: "./dev/.python-version"
- name: Install dev tools
run: uv sync --locked --all-extras --dev
PR-title-format:
if: github.event_name == 'pull_request'
needs: build-dev
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./dev
steps:
- name: Checkout code
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
version: "0.8.17"
enable-cache: true
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: "./dev/.python-version"
- name: Check PR title format
run: |
uv run cz check --message "${{ github.event.pull_request.title }}"
lint-format:
needs: build-dev
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./dev
steps:
- uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
version: "0.8.17"
enable-cache: true
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: "./dev/.python-version"
- name: Run pre-commit
run: uv run --project dev pre-commit run --all-files
fixup-commits:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Check absence of fixup commits
run: |
! git log --pretty=format:%s | grep 'fixup!'