Skip to content

test

test #11

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request: {}
workflow_dispatch: {}
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
COLUMNS: "120"
FORCE_COLOR: "1"
PYTHONUNBUFFERED: "1"
jobs:
self-check:
name: Run hooks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
cache-dependency-path: hr-locks/**/manifest.json
check-latest: true
- name: Environment cache
uses: actions/cache@v4
with:
path: ~/.cache/genesis
key: >-
${{ runner.os }}
-pre-commit
-3.12
-${{ hashFiles('hr-locks/**/manifest.json') }}
restore-keys: |
${{ runner.os }}-pre-commit-3.12
${{ runner.os }}-pre-commit
- run: python3 -m pip install -r requirements.txt
- run: time python -X dev -m hr run --select=all --delete-orphan-environments
env:
PYTHONPATH: src