Skip to content

ci: Fix release action secrets (#91) #53

ci: Fix release action secrets (#91)

ci: Fix release action secrets (#91) #53

Workflow file for this run

name: Code quality checks
on:
workflow_call:
inputs:
branch:
required: false
type: string
description: 'Branch to run on'
push:
branches: [ main, 0.x ]
jobs:
check-code:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
with:
ref: ${{ inputs.branch }}
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ".[dev]"
- name: Run pre-commit checks
uses: pre-commit/action@v2.0.3
with:
extra_args: --all-files