[Gdcm-hackers] gdcm-git:Grassroots DICOM branch master updated. ed8426ebe0c2f9c47cf8b5cc5711a6589c3
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: malat <ma...@us...> - 2023-05-02 12:01:05
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Grassroots DICOM".
The branch, master has been updated
via ed8426ebe0c2f9c47cf8b5cc5711a6589c3acba2 (commit)
from 069971f143ccb26bf3ffea76fb7e3453105b075c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceforge.net/p/gdcm/gdcm/ci/ed8426ebe0c2f9c47cf8b5cc5711a6589c3acba2/
commit ed8426ebe0c2f9c47cf8b5cc5711a6589c3acba2
Author: Mathieu Malaterre <mat...@gm...>
Date: Tue May 2 14:00:57 2023 +0200
Add linter
diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml
new file mode 100644
index 000000000..87d846b8a
--- /dev/null
+++ b/.github/workflows/linter.yml
@@ -0,0 +1,67 @@
+#
+# https://help.github.com/en/articles/workflow-syntax-for-github-actions
+#
+---
+#################################
+#################################
+## Super Linter GitHub Actions ##
+#################################
+#################################
+name: Lint Code Base
+
+#############################
+# Start the job on all push #
+#############################
+on:
+ push:
+ pull_request:
+ branches: [main]
+
+###############
+# Set the Job #
+###############
+jobs:
+ build:
+ # Name the Job
+ name: Lint Code Base
+ # Set the agent to run on
+ runs-on: ubuntu-latest
+
+ ##################
+ # Load all steps #
+ ##################
+ steps:
+ ##########################
+ # Checkout the code base #
+ ##########################
+ - name: Checkout Code
+ uses: actions/checkout@v3
+ with:
+ # Full git history is needed to get a proper
+ # list of changed files within `super-linter`
+ fetch-depth: 0
+
+ ################################
+ # Run Linter against code base #
+ ################################
+ - name: Lint Code Base
+ uses: github/super-linter/slim@v4
+ env:
+ VALIDATE_CPP: false # cpp-lint
+ VALIDATE_JSCPD: false # FIXME
+ VALIDATE_ALL_CODEBASE: false
+ DEFAULT_BRANCH: master
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+# CMake Format
+# https://github.com/github/super-linter/issues/3606
+ cmake-format-linter:
+ name: Lint Code Base (cmake-format-lint)
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - name: Format CMake files
+ id: cmake-format
+ uses: PuneetMatharu/cmake-format-lint-action@v1.0.1
+ with:
+ args: --check
-----------------------------------------------------------------------
Summary of changes:
.github/workflows/linter.yml | 67 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
create mode 100644 .github/workflows/linter.yml
hooks/post-receive
--
Grassroots DICOM
|