Skip to content

Prepare one chat program for Null and Bash #10000

Prepare one chat program for Null and Bash

Prepare one chat program for Null and Bash #10000

Workflow file for this run

name: Style
on:
push:
branches:
- main
- refactor
pull_request:
# This will trigger the workflow for pull requests to any branch
types: [opened, synchronize, reopened]
jobs:
ruff:
name: Ruff
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v7
with:
submodules: true
# Pin to the ruff uv.lock resolves, so CI and `uv run ruff` agree.
- name: Lint
uses: astral-sh/ruff-action@v4.1.0
with:
version: "0.16.0"
- name: Format
uses: astral-sh/ruff-action@v4.1.0
with:
version: "0.16.0"
args: "format --check"
ty:
name: Ty
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: "3.13"
- name: Install uv
uses: astral-sh/setup-uv@v10.0.1
- name: Install dependencies
run: uv sync
- name: Run ty
run: uv run ty check verifiers