Skip to content

Bump ruff from 0.12.7 to 0.12.8 in /requirements/dev #22

Bump ruff from 0.12.7 to 0.12.8 in /requirements/dev

Bump ruff from 0.12.7 to 0.12.8 in /requirements/dev #22

Workflow file for this run

name: audit.yml
on:
pull_request:
workflow_dispatch:
inputs:
branch:
description: 'Branch to audit'
required: true
type: string
jobs:
linting:
if: >
${{
(github.event_name == 'pull_request' &&
github.head_ref != 'production' &&
github.event.pull_request.base.ref != 'production')
||
(github.event_name == 'workflow_dispatch' &&
github.ref_name != 'production')
}}
runs-on: ubuntu-latest
steps:
- name: Debug Info
run: |
echo "Event Name: ${{ github.event_name }}"
echo "Head Ref: ${{ github.head_ref }}"
echo "Base Ref: ${{ github.event.pull_request.base.ref }}"
echo "Ref Name: ${{ github.ref_name }}"
- name: Checkout code
uses: actions/[email protected]
with:
ref: ${{ github.event.inputs.branch || github.head_ref }}
- uses: actions/[email protected]
with:
python-version: "3.8"
check-latest: "true"
cache: "pip"
- name: Dependency Installation
run: python3 -m pip install .
- uses: astral-sh/[email protected]
with:
version-file: "requirements/dev/requirements.txt"
src: "./src"
audit:
if: >
${{
(github.event_name == 'pull_request' &&
github.head_ref != 'production' &&
github.event.pull_request.base.ref != 'production')
||
(github.event_name == 'workflow_dispatch' &&
github.ref_name != 'production')
}}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
with:
ref: ${{ github.event.inputs.branch || github.head_ref }}
- uses: actions/[email protected]
with:
python-version: "3.8"
check-latest: "true"
cache: "pip"
- uses: pypa/[email protected]
with:
inputs: "requirements/library/requirements.txt"
audit-dev:
if: >
${{
(github.event_name == 'pull_request' &&
(github.head_ref == 'production' || github.event.pull_request.base.ref == 'production'))
||
(github.event_name == 'workflow_dispatch' &&
github.ref_name == 'production')
}}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
with:
ref: ${{ github.event.inputs.branch || github.head_ref }}
- uses: actions/[email protected]
with:
python-version: "3.13"
check-latest: "true"
cache: "pip"
- uses: pypa/[email protected]
with:
inputs: "requirements/dev/requirements.txt"