-
Notifications
You must be signed in to change notification settings - Fork 22
45 lines (39 loc) · 1.87 KB
/
Copy pathstatic_analysis.yml
File metadata and controls
45 lines (39 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
##############################################################################
# Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH #
# Copyright (C) 2019 University of Santiago de Compostela #
# Copyright (C) 2019 CEA-DAM-DIF, Université Paris-Saclay #
# Copyright (C) 2023 University of Coruña #
# Copyright (C) 2019-2026 Members of R3B Collaboration #
# #
# This software is distributed under the terms of the #
# GNU General Public Licence (GPL) version 3, #
# copied verbatim in the file "LICENSE". #
# #
# In applying this license GSI does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
##############################################################################
# This is the main static analysis workflow for pull requests to the sofia dev branch
# See the static analysis workflow developed for R3BRoot for more details
# SPDX-License-Identifier: LGPL-3.0-or-later
name: static analysis
on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]
workflow_dispatch:
permissions: write-all
jobs:
# This workflow contains a single job called "clang-format"
clang-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Code formatting
run: |
cd $GITHUB_WORKSPACE
sudo apt-get update
sudo apt-get install clang-format-16
./.clang-format-check.sh clang-format-16
shell: bash