Content-Length: 212803 | pFad | http://github.com/talkpython/talk-python-cli/actions/runs/21834096207/workflow

88 Merge branch 'main' of https://github.com/talkpython/talk-python-cli · talkpython/talk-python-cli@80f2a47 · GitHub
Skip to content

Merge branch 'main' of https://github.com/talkpython/talk-python-cli #2

Merge branch 'main' of https://github.com/talkpython/talk-python-cli

Merge branch 'main' of https://github.com/talkpython/talk-python-cli #2

Workflow file for this run

name: Python Syntax Check
on:
push:
branches: ['**']
pull_request:
branches: ['**']
jobs:
syntax-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Install ruff
run: uv tool install ruff
- name: Get changed Python files
id: changed-files
uses: tj-actions/changed-files@v45
with:
files: |
**/*.py
- name: Run ruff format check
if: steps.changed-files.outputs.any_changed == 'true'
run: |
echo "Changed files: ${{ steps.changed-files.outputs.all_changed_files }}"
uv tool run ruff format --check ${{ steps.changed-files.outputs.all_changed_files }}
- name: Run ruff check
if: steps.changed-files.outputs.any_changed == 'true'
run: |
uv tool run ruff check ${{ steps.changed-files.outputs.all_changed_files }}








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/talkpython/talk-python-cli/actions/runs/21834096207/workflow

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy