frostfs-api/.forgejo/workflows/pre-commit.yaml
Ori Bruk ce37ce12d6
All checks were successful
Formatters / Run fmt (pull_request) Successful in 29s
DCO action / DCO (pull_request) Successful in 1m3s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m4s
[#68] Ensure compatibility of different API versions with each other.
Update linters.

Signed-off-by: Ori Bruk <o.bruk@yadro.com>
2024-11-06 15:01:19 +03:00

20 lines
494 B
YAML

name: Pre-commit hooks
on: [pull_request]
jobs:
pre-commit:
name: Pre-commit
env:
# Skip pre-commit hooks which are executed by other actions.
SKIP: make-fmt
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- 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