Update actions workflows and add clang format check for PRs (#1418)

* Add clang-format workflow for pull request checks

* Modify push paths in nightly workflow

Updated paths for push event to include all files except specified ones.

* Update paths for nightly-server workflow triggers

* Modify paths for pull request triggers

Update pull request workflow to include specific paths.

* Tidy up clang-format installation in workflow
This commit is contained in:
rtm516
2026-03-29 05:35:25 +01:00
committed by GitHub
parent 277d74716e
commit 38d58f2d8b
4 changed files with 66 additions and 14 deletions

View File

@@ -5,11 +5,12 @@ on:
push:
branches:
- 'main'
paths-ignore:
- '.gitignore'
- '*.md'
- '.github/**'
- '!.github/workflows/nightly.yml'
paths:
- '**'
- '!.gitignore'
- '!*.md'
- '!.github/**'
- '.github/workflows/nightly.yml'
permissions:
contents: write