frostfs-sdk-java/.forgejo/workflows/pre-commit.yaml
Bruk Ori da32b5c45d
Some checks failed
DCO / DCO (pull_request) Failing after 1m16s
Pre-commit checks / Pre-commit (pull_request) Failing after 2m4s
test
2024-10-25 16:47:17 +03:00

23 lines
545 B
YAML

name: Pre-commit checks
on: [pull_request]
jobs:
pre-commit:
name: Pre-commit
runs-on: docker
container: git.frostfs.info/truecloudlab/env:python-${{ matrix.py }}
strategy:
matrix:
py:
- '3.11'
- '3.13'
env:
PIP_CACHE_DIR: /cache/pip
steps:
- uses: actions/checkout@v3
- name: Install deps
run: |
apt update
apt install -y pre-commit
- name: Run pre-commit
run: pre-commit run --all-files --hook-stage manual --color=always