frostfs-api/.forgejo/workflows/fmt.yaml
Aleksey Savchuk 5174e9053f
Some checks failed
DCO action / DCO (pull_request) Failing after 26s
Pre-commit hooks / Pre-commit (pull_request) Successful in 26s
Formatters / Run fmt (pull_request) Successful in 32s
[#xx] .forgejo: Make 'fmt' job fail on changed files
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-09-12 21:44:19 +03:00

17 lines
340 B
YAML

name: Formatters
on: [pull_request]
jobs:
fmt:
name: Run fmt
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install deps
run: |
apt update
apt install -y clang-format
- name: Run fmt
run: |
make fmt
test -z "$(git diff --name-only)"