Skip to content

Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 #105

Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0

Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 #105

name: Static analysis
on: [pull_request]
jobs:
call-secrets-analysis-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/reusable-secrets-analysis.yml@v0.11.0
check-with-black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
options: "--check --diff --color"
src: "."
check-with-ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run Ruff
run: ruff check --output-format github . src/zran/zranlib.pyx