name: Pre-commit checks on: [pull_request] jobs: pre-commit: name: Pre-commit runs-on: docker container: git.frostfs.info/truecloudlab/env:openjdk-11-maven-3.8.6 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