infrastructure/.forgejo/workflows/lint.yaml
Tom Hubrecht b70dd91eb2
All checks were successful
build configuration / build_vault01 (push) Successful in 1m35s
build configuration / build_rescue01 (push) Successful in 1m35s
build configuration / build_compute01 (push) Successful in 1m41s
build configuration / build_storage01 (push) Successful in 1m43s
build configuration / build_web02 (push) Successful in 1m57s
build configuration / build_web01 (push) Successful in 2m11s
lint / check (push) Successful in 34s
build configuration / build_geo01 (push) Successful in 1m24s
build configuration / build_geo02 (push) Successful in 1m22s
build configuration / build_bridge01 (push) Successful in 1m20s
build configuration / push_to_cache_rescue01 (push) Successful in 1m30s
build configuration / push_to_cache_storage01 (push) Successful in 1m56s
build configuration / push_to_cache_web02 (push) Successful in 1m50s
build configuration / push_to_cache_geo01 (push) Successful in 1m32s
build configuration / push_to_cache_compute01 (push) Successful in 2m18s
build configuration / push_to_cache_geo02 (push) Successful in 1m28s
build configuration / push_to_cache_web01 (push) Successful in 2m29s
build configuration / push_to_cache_bridge01 (push) Successful in 1m24s
fix(workflows): Run lint on pull_requests too
2024-08-17 18:00:10 +02:00

11 lines
263 B
YAML

name: lint
on: [push, pull_request]
jobs:
check:
runs-on: nix
steps:
- uses: actions/checkout@v3
- name: Run pre-commit on all files
run: nix-shell --run 'pre-commit run --all-files --show-diff-on-failure' -A shells.pre-commit ./.