Skip to content

use document types from pie-modules #376

use document types from pie-modules

use document types from pie-modules #376

Workflow file for this run

# This workflow will install PyTorch for CPU and other Python dependencies and calls pre-commit.
name: pre-commit
on:
pull_request: {}
push:
branches: main
tags: "*"
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: show previous workflow conclusion
run: echo ${{ github.event.workflow_run.conclusion }}
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: "3.9"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install torch --extra-index-url https://download.pytorch.org/whl/cpu
pip install -r requirements.txt
- name: Execute pre-commit
uses: pre-commit/[email protected]