Skip to content

Bump ASFHyP3/actions from 0.9.0 to 0.11.0 #66

Bump ASFHyP3/actions from 0.9.0 to 0.11.0

Bump ASFHyP3/actions from 0.9.0 to 0.11.0 #66

Workflow file for this run

name: Static analysis
on: [pull_request]
jobs:
call-secrets-analysis-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/[email protected]
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@v4
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/index_safe/*.py