Skip to content

Refactor and Documentation Enhancements #11

Refactor and Documentation Enhancements

Refactor and Documentation Enhancements #11

Workflow file for this run

name: Validate
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ "main", "master" ]
pull_request:
branches: [ "main", "master"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
pre-commit-hooks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
architecture: 'x64'
- name: Run a script
run: |-
pip install pre-commit
pre-commit autoupdate
pre-commit run --all-files --verbose